<Vulnerability name="CVE-2026-123747">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-11-11T11:11:00</PublicDate>
    <Bugzilla id="2568110" url="https://bugzilla.redhat.com/show_bug.cgi?id=2568110" xml:lang="en:us">
pappl-retrofit: Directory traversal in the add-ppdfiles and delete-ppdfiles actions
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>7.3</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-22</CWE>
    <Details xml:lang="en:us" source="Mitre">
A flaw was found in pappl-retrofit. The application fails to properly sanitize user-supplied filenames when handling the upload and deletion of PostScript Printer Description (PPD) files. A remote, unauthenticated attacker can exploit this directory traversal flaw by submitting filenames containing path traversal sequences. This allows the attacker to upload or delete arbitrary files on the system, which can result in data corruption, denial of service, or arbitrary command execution.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in pappl-retrofit. The application fails to properly sanitize user-supplied filenames when handling the upload and deletion of PostScript Printer Description (PPD) files. A remote, unauthenticated attacker can exploit this directory traversal flaw by submitting filenames containing path traversal sequences. This allows the attacker to upload or delete arbitrary files on the system, which can result in data corruption, denial of service, or arbitrary command execution.
    </Details>
    <Statement xml:lang="en:us">
Red Hat has evaluated this vulnerability as having an Important severity impact because unauthenticated remote attackers could manipulate or delete arbitrary filesystem contents with elevated privileges if the service is exposed. On Red Hat Enterprise Linux and Fedora, the required storage directory `/var/lib/legacy-printer-app/ppd` is not created by the package, meaning default installations are not vulnerable without manual administrative setup. Exploitation is only possible if the service is actively running and this missing directory has been manually provisioned with administrative privileges.
    </Statement>
    <Mitigation xml:lang="en:us">
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
    </Mitigation>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>pappl-retrofit</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-123747
https://nvd.nist.gov/vuln/detail/CVE-2026-123747
    </References>
</Vulnerability>