CVE-2026-140991

Source
https://cve.org/CVERecord?id=CVE-2026-140991
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140991.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-140991
Published
2026-12-02T14:36:35Z
Modified
2026-12-02T17:45:40Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

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.

Database specific
{
    "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",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "1.0.12"
                        },
                        {
                            "fixed":  "1.1.6"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/eclipse-basyx/basyx-go-components

Affected ranges

Type
GIT
Repo
https://github.com/eclipse-basyx/basyx-go-components
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "original_tag":  "v1.1.6",
            "range":  [
                {
                    "fixed":  "b3c98b93431c2e340c3f14c4b9748c34c6840dbd"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.0.0-rc.1
v1.0.0-rc.2
v1.0.0-rc.3
v1.0.0-rc.4
v1.0.0-rc.5
v1.0.0-rc.6
v1.0.0-rc.7
v1.0.1
v1.0.10
v1.0.11
v1.0.12
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140991.json"