{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-8941 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-8941 is a high-severity vulnerability in Red Hat Compliance Operator 1, published on 13 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8941 and fix it if it is affected.\n\nWhat it is: CVE-2025-8941 is a high-severity vulnerability in Red Hat Compliance Operator 1, published on 13 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-8941 in the wild and no public exploit code.\n\nAffected product: Red Hat Compliance Operator 1. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-8941/ (Markdown: https://insights.sbomify.com/CVE-2025-8941/index.md)","id":"CVE-2025-8941","markdown":"https://insights.sbomify.com/CVE-2025-8941/index.md","name":"CVE-2025-8941","record":{"aliases":["CLSA-2025-1767001153","DEBIAN-CVE-2025-8941","GHSA-hqqx-rjqh-53c2","RHSA-2025:15100","RHSA-2025:15101","RHSA-2025:15102","RHSA-2025:15103","RHSA-2025:15104","RHSA-2025:15105","RHSA-2025:15106","RHSA-2025:15107","ROOT-OS-UBUNTU-2204-CVE-2025-8941"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux PAM module","requires_auth":"low_privilege","summary":"Local attackers can exploit symlink attacks and race conditions in the pam_namespace module to elevate privileges to root.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A flaw was found in linux-pam. The pam_namespace module may improperly handle user-controlled paths, allowing local users to exploit symlink attacks and race conditions to elevate their privileges to root. This CVE provides a \"complete\" fix for CVE-2025-6020.","ecosystems":["Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Linux-pam: incomplete fix for cve-2025-6020","id":"CVE-2025-8941","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2025"},"n_packages":56,"n_references":19,"next":{"headline":"WP Hotel Booking \u003c 2.2.3 - Subscriber+ Rating Manipulation","id":"CVE-2025-8942"},"packages":[{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15107"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15107"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15107"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15107"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15104"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15104"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15104"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15104"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.3.1-16.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15105"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.3.1-26.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15103"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.3.1-26.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15103"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.3.1-26.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15103"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.3.1-26.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15103"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/redhat/pam-docs","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.5.1-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15100"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/redhat/pam-docs","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.5.1-15.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15101"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.1.8-23.el7_9.2"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:15106"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.1.8-23.el7_9.2"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15106"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.1.8-23.el7_9.2"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15106"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-24.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:15102"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-24.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:15102"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-24.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:15102"}],"prev":{"headline":"Tenda AC20 saveParentControlInfo strcpy buffer overflow","id":"CVE-2025-8940"},"products":["Compliance Operator 1","Red Hat Discovery 2","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Telecommunications Update Service","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat Insights proxy 1.5","Red Hat OpenShift sandboxed containers 1.1","Red Hat Web Terminal 1.11 on RHEL 9","Red Hat Web Terminal 1.12 on RHEL 9","cert-manager operator for Red Hat OpenShift 1.16"],"published":"2025-08-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Red Hat"]},"summary":"Local attackers can exploit symlink attacks and race conditions in the pam_namespace module to elevate privileges to root.","url":"https://insights.sbomify.com/CVE-2025-8941/"}