{"api_version":"1","generated_at":"2026-12-02T16:30:16+00:00","cve":"CVE-2026-140991","urls":{"html":"https://cve.report/CVE-2026-140991","api":"https://cve.report/api/cve/CVE-2026-140991.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-140991","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-140991"},"summary":{"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.","state":"PUBLISHED","assigner":"eclipse","published_at":"2026-12-02 15:17:23","updated_at":"2026-12-02 15:17:23"},"problem_types":["CWE-636","CWE-863","CWE-636 CWE-636 Not Failing Securely","CWE-863 CWE-863 Incorrect Authorization"],"metrics":[{"version":"3.1","source":"emo@eclipse.org","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/667","name":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/667","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1579","name":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1579","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.6","name":"https://github.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.6","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/eclipse-basyx/basyx-go-components/pull/917","name":"https://github.com/eclipse-basyx/basyx-go-components/pull/917","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140991","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140991","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Eclipse Foundation","product":"Eclipse BaSyx Go Components","version":"affected 1.0.12 1.1.6 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Aaron Zielstorff","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"github.com/eclipse-basyx/basyx-go-components","product":"Eclipse BaSyx Go Components","repo":"https://github.com/eclipse-basyx/basyx-go-components","vendor":"Eclipse Foundation","versions":[{"lessThan":"1.1.6","status":"affected","version":"1.0.12","versionType":"semver"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Only deployments with ABAC&nbsp;enabled are affected."}],"value":"Only deployments with ABAC enabled are affected."}],"credits":[{"lang":"en","type":"finder","value":"Aaron Zielstorff"}],"datePublic":"2026-12-02T14:28:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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`.</p><p>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.</p><p>The issue is fixed in Eclipse BaSyx Go Components v1.1.6.</p>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-636","description":"CWE-636 Not Failing Securely","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T14:36:35.112Z","orgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","shortName":"eclipse"},"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1579"},{"tags":["patch"],"url":"https://github.com/eclipse-basyx/basyx-go-components/pull/917"},{"url":"https://github.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.6"},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/667"}],"source":{"discovery":"UNKNOWN"},"title":"Failed casts under $not grant access in ABAC formulas in Eclipse BaSyx Go Components","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","assignerShortName":"eclipse","cveId":"CVE-2026-140991","datePublished":"2026-12-02T14:36:35.112Z","dateReserved":"2026-12-01T09:17:07.641Z","dateUpdated":"2026-12-02T14:36:35.112Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 15:17:23","lastModifiedDate":"2026-12-02 15:17:23","problem_types":["CWE-636","CWE-863","CWE-636 CWE-636 Not Failing Securely","CWE-863 CWE-863 Incorrect Authorization"],"metrics":{"cvssMetricV31":[{"source":"emo@eclipse.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"140991","Ordinal":"1","Title":"Failed casts under $not grant access in ABAC formulas in Eclipse","CVE":"CVE-2026-140991","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"140991","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Failed casts under $not grant access in ABAC formulas in Eclipse"}]}}}