{"id":"CVE-2026-115409","summary":"Unverified key-pair binding lets an unauthenticated token user substitute the public key or certificate returned for a private key","details":"In `github.com/eclipse-keypont/crypto11/v2` versions `\u003c= 2.0.0-rc8` (and the deprecated v1 module paths `github.com/eclipse-keypont/crypto11 \u003c= 1.6.8`, `github.com/ThalesGroup/crypto11 \u003c= 1.7.0-rc1` and `github.com/ThalesIgnite/crypto11 \u003c= 1.2.5`), the key-pair and certificate lookup functions (`FindKeyPair`, `FindKeyPairs`, `FindKeyPairsWithAttributes`, `FindAllKeyPairs`, the `FindRSAKeyPair*` family and `FindAllPairedCertificates`) pair a private key with a public key object, or with a certificate, by `CKA_ID`/`CKA_LABEL` alone, take the first match the token returns, and never verify that it belongs to the private key. PKCS#11 permits a session that has not logged in to create public token objects, so anyone able to open a session on the token — without the PIN — can plant a public key or certificate carrying a victim key's `CKA_ID` and label, and crypto11 may return it as that key's public half. An application that publishes or trusts `Signer.Public()` (a JWKS endpoint, a key registry, `authorized_keys`, a CSR) then publishes the attacker's key, and relying parties accept anything the attacker signs as coming from the service. On the v1 line the lookup also falls back to a class-and-key-type-only search when the private key has no `CKA_ID`, pairing a label-only private key with the first public key of its type on the token.\n\n\n\nThe v1 module paths are deprecated and will not be fixed; users should migrate to github.com/eclipse-keypont/crypto11/v2 version 2.0.0-rc9 or later.","aliases":["GHSA-2xw8-72pq-h8wg"],"modified":"2026-11-20T11:00:08.833918025Z","published":"2026-11-20T09:33:32.375Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115409.json","cna_assigner":"eclipse","cwe_ids":["CWE-345"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115409.json"},{"type":"PACKAGE","url":"https://github.com/eclipse-keypont/crypto11"},{"type":"FIX","url":"https://github.com/eclipse-keypont/crypto11/commit/8d99b73c721c173ad85c0ca4e063c3da360a611d"},{"type":"ADVISORY","url":"https://github.com/eclipse-keypont/crypto11/releases/tag/v2.0.0-rc9"},{"type":"ADVISORY","url":"https://github.com/eclipse-keypont/crypto11/security/advisories/GHSA-2xw8-72pq-h8wg"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/489"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115409"},{"type":"WEB","url":"https://pkg.go.dev"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-keypont/crypto11","events":[{"introduced":"0"},{"fixed":"8d99b73c721c173ad85c0ca4e063c3da360a611d"},{"last_affected":"9fabe6478ebf32c8aadeae5ccd6d632269175145"},{"last_affected":"97138bd249b98aa6acf7621d7db89b4a60312e80"},{"last_affected":"a81014c7c41025fb5533c0c6b1b14bec016be695"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.0.0-rc9"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.6.8"}]},{"range":[{"introduced":"0"},{"last_affected":"1.7.0-rc1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.2.5"}]},{"range":[{"fixed":"8d99b73c721c173ad85c0ca4e063c3da360a611d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"8d99b73c721c173ad85c0ca4e063c3da360a611d"}],"source":"REFERENCES_TAG","original_tag":"v2.0.0-rc9"}]}}],"versions":["v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115409.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"}]}