Skip to content

[PR #14343/95d8423b backport][9.0.x] tmpdir: fix insecure temporary directory vulnerability (CVE-2025-71176)#14363

Merged
bluetech merged 1 commit into9.0.xfrom
patchback/backports/9.0.x/95d8423bd24992deea5b9df32555fa1741679e2c/pr-14343
Apr 7, 2026
Merged

[PR #14343/95d8423b backport][9.0.x] tmpdir: fix insecure temporary directory vulnerability (CVE-2025-71176)#14363
bluetech merged 1 commit into9.0.xfrom
patchback/backports/9.0.x/95d8423bd24992deea5b9df32555fa1741679e2c/pr-14343

Conversation

@patchback
Copy link
Copy Markdown

@patchback patchback bot commented Apr 7, 2026

This is a backport of PR #14343 as merged into main (95d8423).

This is my proposed alternative to #13669 as discussed in the issue. I think we should go with the simple fix for now. I think this one should be safe to backport.

A previous fix for insecure temporary directory issue c49100c wasn't sufficient because it followed symlinks.

Stop following symlinks, and reject if a symlink; we know it shouldn't be.

Fix #14279.

[0] https://www.openwall.com/lists/oss-security/2026/01/21/5

tmpdir: fix insecure temporary directory vulnerability (CVE-2025-71176)
(cherry picked from commit 95d8423)
@bluetech bluetech enabled auto-merge April 7, 2026 14:47
@bluetech bluetech merged commit 99a7e60 into 9.0.x Apr 7, 2026
33 checks passed
@bluetech bluetech deleted the patchback/backports/9.0.x/95d8423bd24992deea5b9df32555fa1741679e2c/pr-14343 branch April 7, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant