{"schemaVersion":4,"id":"CVE-2026-137898","aliases":["DEBIAN-CVE-2026-137898","UBUNTU-CVE-2026-137898","RHSA-2026:105294"],"status":"published","duplicateOf":null,"title":"Pam: linux-pam pam_econf local privilege escalation via relative \"(null)\" config directory from empty vendor directory handling","description":"A flaw was found in pam. When built with libeconf and an unconfigured vendor directory, the pam_econf configuration handler misinterprets the search path, causing it to look for configuration files in a relative directory within the current working directory. A local attacker can exploit this by placing crafted environment configuration files in a world-writable location. If an administrator executes a privileged command from that directory, the malicious variables are loaded into the privileged process, resulting in local privilege escalation.","dates":{"published":"2026-11-27T19:27:54.169Z","modified":"2026-12-01T07:02:35.885Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true}]},"epss":{"probability":0.00263,"percentile":0.19286,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-28T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00263,"percentile":0.19286}],"last30":[{"date":"2026-11-28T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00263,"percentile":0.19286}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-427","name":"Uncontrolled Search Path Element","description":"The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/427.html"}],"affected":[{"vendor":"debian","product":"pam","name":"pam","label":"pam","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pam","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pam","name":"pam","label":"pam","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pam","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"redhat","product":"pam","name":"pam","label":"pam","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/pam","purlType":"rpm","versions":[{"text":"< 0:1.7.2-4.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:1.7.2-4.2.hum1","endInclusive":false}}],"versionsText":"< 0:1.7.2-4.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"pam-devel","name":"pam-devel","label":"pam-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/pam-devel","purlType":"rpm","versions":[{"text":"< 0:1.7.2-4.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:1.7.2-4.2.hum1","endInclusive":false}}],"versionsText":"< 0:1.7.2-4.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"pam-doc","name":"pam-doc","label":"pam-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/pam-doc","purlType":"rpm","versions":[{"text":"< 0:1.7.2-4.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:1.7.2-4.2.hum1","endInclusive":false}}],"versionsText":"< 0:1.7.2-4.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"pam-libs","name":"pam-libs","label":"pam-libs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/pam-libs","purlType":"rpm","versions":[{"text":"< 0:1.7.2-4.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:1.7.2-4.2.hum1","endInclusive":false}}],"versionsText":"< 0:1.7.2-4.2.hum1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-137898","label":"access.redhat.com/security/cve/CVE-2026-137898","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2585412","label":"bugzilla.redhat.com/show_bug.cgi?id=2585412","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://github.com/linux-pam/linux-pam/pull/1070","label":"github.com/linux-pam/linux-pam/pull/1070","hostname":"github.com","tags":["REPORT","ARTICLE"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-137898","label":"security-tracker.debian.org/tracker/CVE-2026-137898","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-137898","label":"ubuntu.com/security/CVE-2026-137898","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137898","label":"www.cve.org/CVERecord?id=CVE-2026-137898","hostname":"www.cve.org","tags":["REPORT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:105294","label":"access.redhat.com/errata/RHSA-2026:105294","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_105294.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_105294.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137898","label":"nvd.nist.gov/vuln/detail/CVE-2026-137898","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-27T19:27:54.169Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T07:02:35.885Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,73],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00263,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T07:02:35.885Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T07:02:35.885Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T07:02:35.885Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T07:02:35.885Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_red_hat","date":"2026-12-01T07:02:35.885Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T17:04:45.794Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00263,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:55:34.380Z","stale":false,"partial":false}}