{"id":"CVE-2026-140991","summary":"Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components","details":"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`.\n\n\n\nA 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.\n\n\n\nThe issue is fixed in Eclipse BaSyx Go Components v1.1.6.","modified":"2026-12-02T17:45:40.740090646Z","published":"2026-12-02T14:36:35.112Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.0.12"},{"fixed":"1.1.6"}]}]}],"cna_assigner":"eclipse","cwe_ids":["CWE-636","CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140991.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140991.json"},{"type":"PACKAGE","url":"https://github.com/eclipse-basyx/basyx-go-components"},{"type":"FIX","url":"https://github.com/eclipse-basyx/basyx-go-components/pull/917"},{"type":"WEB","url":"https://github.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.6"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/667"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1579"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140991"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-basyx/basyx-go-components","events":[{"introduced":"0"},{"fixed":"b3c98b93431c2e340c3f14c4b9748c34c6840dbd"}],"database_specific":{"extracted_events":[{"original_tag":"v1.1.6","range":[{"fixed":"b3c98b93431c2e340c3f14c4b9748c34c6840dbd"}],"source":"REFERENCES_TAG"}]}}],"versions":["v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.12","v1.0.11","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v1.0.0-rc.7","v1.0.0-rc.6","v1.0.0-rc.5","v1.0.0-rc.4","v1.0.0-rc.3","v1.0.0-rc.2","v1.0.0-rc.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140991.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}