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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **CWE:** CWE-636, CWE-863
- **Published:** 2026-12-02T14:36:35.112Z
- **Modified:** 2026-12-02T20:40:55.410Z

## Who should check

- Anyone running Eclipse Foundation Eclipse BaSyx Go Components \>= 1.0.12, \< 1.1.6

## Description

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.

## Affected and fixed versions

- Eclipse Foundation Eclipse BaSyx Go Components: \>= 1.0.12, \< 1.1.6 (cvelist)

## Mitigation

- Upgrade Eclipse BaSyx Go Components to 1.1.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-140991. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-140991.md
Affected: Eclipse Foundation Eclipse BaSyx Go Components >= 1.0.12, < 1.1.6
Fixed in: Eclipse Foundation Eclipse BaSyx Go Components 1.1.6

Steps:
1. Search this machine and project for Eclipse Foundation Eclipse BaSyx Go Components: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-140991 being exploited?

There is no confirmed exploitation: CVE-2026-140991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-140991?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-140991?

Eclipse Foundation Eclipse BaSyx Go Components \>= 1.0.12, \< 1.1.6.

### Is there a fix for CVE-2026-140991?

Yes. Fixed in Eclipse Foundation Eclipse BaSyx Go Components 1.1.6. Upgrade Eclipse BaSyx Go Components to 1.1.6 or later.

### How do I check if I'm affected by CVE-2026-140991?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-140991>

HTML: <https://flawdb.com/CVE-2026-140991> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-140991>
