patchminder
Proof of concept · Exploit-DB CVE-2019-3842

Broken access controlin The systemd Project systemd.

Published 9 Apr 2019 · Updated 9 Jun 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Medium 4.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.2% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using the XDG_SEAT variable. It is possible for an attacker, in some particular configurations, to set a XDG_SEAT environment variable which allows for commands to be checked against polkit policies using the "allow_active" element rather than "allow_any".

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
systemd
v242-rc4
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Jan 2019
    CVE ID reserved by redhat.
  2. 9 Apr 2019
    Published in the CVE List.
  3. 9 Jun 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
Exploit-DBEDB-ID 46743denial of service exploit for linux, published 23 Apr 2019, verified by Exploit-DBLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other systemd vulnerabilities

Same weakness: Improper authorization

All CWE-285 vulnerabilities

References
Cite this page

Patchminder. CVE-2019-3842: Broken access control in The systemd Project systemd. https://patchminder.com/cve/cve-2019-3842/ (accessed 5 December 2026).