{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-121476","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","state":"PUBLISHED","assignerShortName":"redhat","dateReserved":"2026-11-03T13:36:05.816Z","datePublished":"2026-12-01T03:18:29.886Z","dateUpdated":"2026-12-01T03:18:29.886Z"},"containers":{"cna":{"title":"Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification","metrics":[{"other":{"content":{"value":"Low","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.8,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"format":"CVSS"}],"descriptions":[{"lang":"en","value":"A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is shared between users, a local attacker could replace a certificate file with a symlink pointing to an arbitrary file. This can lead to unauthorized file modification, causing another user updating the certificate store to inadvertently overwrite or alter files of the attacker's choice."}],"affected":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-podman-sequoia","defaultStatus":"affected","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-sequoia-sq","defaultStatus":"affected","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-sequoia-sq","defaultStatus":"affected","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Hardened Images","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-podman-sequoia","defaultStatus":"affected","cpes":["cpe:/a:redhat:hummingbird:1"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-121476","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2565798","name":"RHBZ#2565798","tags":["issue-tracking","x_refsource_REDHAT"]}],"datePublic":"2026-11-30T14:57:01.227Z","problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"Improper Link Resolution Before File Access","lang":"en","type":"CWE"}]}],"x_redhatCweChain":"CWE-59: Improper Link Resolution Before File Access","workarounds":[{"lang":"en","value":"Ensure certificate directories are not shared across multiple users and restrict directory permissions to the owning user.\n\nTo restrict permissions on the default user certificate directory:\n```\nchmod 700 ~/.local/share/pgpkeys\n```\nIf using a custom directory defined via `$PGP_CERT_D`, apply the same restriction:\n```\nchmod 700 /path/to/cert-d\n```\n\nCaveat: Collaborative environments that depend on multiple local users modifying a single shared certificate store will be disrupted; each user must maintain an isolated certificate store."}],"timeline":[{"lang":"en","time":"2026-11-02T12:40:19.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-11-30T14:57:01.227Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank izouss for reporting this issue."}],"providerMetadata":{"orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat","dateUpdated":"2026-12-01T03:18:29.886Z"},"x_generator":{"engine":"cvelib 1.8.0"}}}}