Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-47712

Score3.3 Low
CVSS 3.1
Exploit probability (EPSS)0.18%
within the next 30 days
CategoryAccess control & privilege
Published10 June 2026
Last modified: 21 July 2026

In short

This vulnerability can be exploited with local access to the device, without logging in, if a user clicks a link, opens a file or similar.

Impact is limited: modifying data.

Weakness type: Path traversal.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Dulwich is a pure-Python implementation of the Git file formats and protocols. Starting in version 0.24.0 and prior to version 1.2.5, dulwich.porcelain.format_patch(outdir=...) derives each patch filename from the commit's subject line. Prior to this fix, get_summary only replaced spaces with dashes - path separators (/, \), parent-directory components (..), and other filename-hostile characters (e.g. :) were preserved verbatim and passed straight into os.path.join(outdir, f"{i:04d}-{summary}.patch"). A malicious commit subject could therefore direct the generated patch file outside the requested outdir. This is fixed in Dulwich 1.2.5. Users should upgrade to 1.2.5 or later. dulwich.patch.get_summary now mirrors git's format_sanitized_subject: only `[A-Za-z0-9._]` are kept, runs of other characters collapse to a single -, consecutive . collapse to a single ., trailing ./- are stripped, and the result is length-limited. This makes the returned string safe to embed as a filename component, so format_patch can no longer be steered out of outdir via the commit subject. Until upgrading, callers that pass untrusted commits to porcelain.format_patch can use stdout=True and write the patch to a destination they control, rather than letting format_patch choose the filename; validate the chosen path before opening - e.g. compare os.path.realpath(returned_path) against os.path.realpath(outdir) and reject any patch whose resolved path is not inside outdir; and/or pre-screen commits and refuse to format any whose subject's first line contains /, \, .., or other characters that are not safe on the target filesystem.

CVSS: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Weakness: CWE-22 – Path traversal

Sources

Latest in the same category

  • CVE-2026-139886 Medium 4.8
    A vulnerability has been found in ApodexAI FrontierAgent up to 0.1.0. The impacted element is the function PermissionStore.load of the file apodex/permissions.py. The manipulation leads to improper authorization. An…
    Access control & privilege · 30 November 2026
  • CVE-2026-115422 Critical 9.8
    A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count…
    Access control & privilege · 30 November 2026
  • CVE-2026-109159 High 8.2
    A flaw was found in FreeIPA. A directory principal holding only the right to add new entries in the directory can create a Kerberos service principal configured for unconstrained delegation that remains fully…
    Access control & privilege · 30 November 2026
  • CVE-2026-107934 Critical 9.1
    A privilege escalation from host to domain admin vulnerability was found in the FreeIPA project. The krbPrincipalMatch matching rule used to enforce Kerberos principal name uniqueness does not perform RFC 4517…
    Access control & privilege · 30 November 2026
  • CVE-2026-92440 High 7
    Incorrect route priority calculation in Kong Gateway Enterprise and Kong AI Gateway, when route_match_calculation is original (the default) with the traditional_compatible or expressions router, can select an…
    Access control & privilege · 30 November 2026
  • CVE-2026-125088 High 8.6
    Incorrect authorization in the Admins API of Kong Gateway Enterprise and Kong AI Gateway allows a workspace-scoped administrator to modify administrator accounts outside its workspace via wildcard scoping, obtaining…
    Access control & privilege · 30 November 2026