# CVE-2026-140991: Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-140991 · JSON: https://cvemate.com/vulnerability/CVE-2026-140991/json

## Description

```text
In Eclipse BaSyx Go Components versions 1.0.12 to 1.1.5, ABAC-enabled deployments treat a comparison on a related table, such as Submodel Elements, as false when a cast of the stored value fails or when a `$regex` pattern taken from a stored value or claim is rejected by PostgreSQL. Under `$not`, such a comparison makes the rule allow the resource, although the AAS Query Language requires a failed cast to exclude the candidate. `$hexCast` of a field also compares the stored text without normalizing it, so `16#0a` does not equal `16#0A`.



A rule such as "every Submodel except those whose `Code` is `16#0A`" therefore allows Submodels whose `Code` is stored as `16#0a`, and a rule that excludes a numeric value allows Submodels whose value cannot be cast to a number. An authenticated caller can therefore read, and where the rule grants it modify, resources that the access rules are meant to deny.



The issue is fixed in Eclipse BaSyx Go Components v1.1.6.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.541%, percentile 46.982%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- eclipse foundation eclipse basyx go components: ≥ 1.0.12, \< 1.1.6

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1579>
- <https://github.com/eclipse-basyx/basyx-go-components/pull/917>
- <https://github.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.6>
- <https://gitlab.eclipse.org/security/cve-assignment/-/work_items/667>

---

Data as of 2026-12-05T04:00:19.967Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
