{"id":"CVE-2026-140991","aliases":["EUVD-2026-141462","GHSA-4cpq-9hxg-r47q"],"status":"published","title":"Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components","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`.\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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-05","score":0.00541,"percentile":0.46978,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-636","CWE-863"],"published":"2026-12-02T14:36:35Z","modified":"2026-12-03T21:01:42Z","products":[{"vendor":"eclipse foundation","product":"eclipse basyx go components"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1579","tags":["web"]},{"url":"https://github.com/eclipse-basyx/basyx-go-components/pull/917","tags":["patch","fix"]},{"url":"https://github.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.6","tags":["web"]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/667","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140991","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4cpq-9hxg-r47q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140991.json","tags":["advisory"]},{"url":"https://github.com/eclipse-basyx/basyx-go-components","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-140991","title":"Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components","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`.\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.","status":"published","published":"2026-12-02T14:36:35.112Z","modified":"2026-12-02T16:36:08.243Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-636","CWE-863"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T16:45:20.14055Z"}],"euvd":[{"id":"EUVD-2026-141462","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`.\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.","status":"published","published":"2026-12-02T14:36:35Z","modified":"2026-12-02T16:36:08Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-12-02T18:26:15.621401Z"}],"ghsa":[{"id":"GHSA-4cpq-9hxg-r47q","title":"In Eclipse BaSyx Go Components versions 1.0.12 to 1.1.5, ABAC-enabled deployments treat a...","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`.\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.","status":"published","published":"2026-12-02T15:32:20Z","modified":"2026-12-02T15:32:28Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-636"],"updated_at":"2026-12-02T15:37:41.620227Z"}],"nvd":[{"id":"CVE-2026-140991","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`.\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.","status":"published","published":"2026-12-02T15:17:23.193Z","modified":"2026-12-02T20:40:55.41Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-636","CWE-863"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T17:24:49.74521Z"}],"osv":[{"id":"CVE-2026-140991","title":"Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components","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`.\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.","status":"published","published":"2026-12-02T14:36:35.112Z","modified":"2026-12-03T21:01:42.240943059Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-636","CWE-863"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
