GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field
Testing, LowPublic

Assigned To
None
Authored By
• gniibe
Nov 4 2025, 7:07 AM

Description

In GnuPG, the embedded filename (in Literal Data) handling is considered dangerous. It is used without enough sanitation or validation.

Event Timeline

• gniibe created this object in space Restricted Space.
• gniibe created this object with visibility "g10code (Project)".
• gniibe created this object with edit policy "g10code (Project)".
• gniibe mentioned this in Unknown Object (Maniphest Task).Nov 10 2025, 2:51 AM

The problem is that a user may unintentionally use the suggested filename without checking that it does not harm to write to this file. It is better not to present a default name at all.

• werner changed the task status from Open to Testing.Nov 19 2025, 5:43 PM
• werner triaged this task as Low priority.
• werner shifted this object from the Restricted Space space to the S1 Public space.
• werner changed the visibility from "g10code (Project)" to "Public (No Login Required)".
• werner changed the edit policy from "g10code (Project)" to "Contributor (Project)".
• werner removed a project: g10code.