CVE-2026-140991: Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Eclipse BaSyx Go Componentsto a version that resolves this vulnerability.Fixed in 1.1.6
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Eclipse BaSyx Go Components versions 1.0.12 through 1.1.5 are affected if ABAC is enabled and access rules use $not around comparisons on related-table values, such as Submodel Elements. Rules involving numeric casts, stored or claim-derived $regex patterns, or $hexCast comparisons are relevant.
What does an attacker need to exploit this issue?
An attacker must be authenticated and able to request resources governed by an affected ABAC rule. They can read resources that should be excluded and may modify them when the affected rule grants modification access.
How can I determine whether my access rules are vulnerable?
Review ABAC rules for $not applied to comparisons of related-table fields. These rules are affected when denied values can fail a cast, when regex patterns from stored values or claims can be rejected by PostgreSQL, or when $hexCast is used and stored hexadecimal text may differ in letter case.
What should be done to remediate the issue?
Upgrade to Eclipse BaSyx Go Components v1.1.6. Until upgraded, review and avoid affected $not-based exclusion rules where failed casts, rejected regex patterns, or case differences in hexadecimal values could cause protected resources to be allowed.