Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

aiven-open/pghoard
main @ dce05ce
5
Fixes
0
CVEs
HIGH
Peak severity
40.0%
Coverage
Highlights
Path Traversal: 4 prior fixes. Scrutinize any change in this area.
pghoard/gnutaremu.py: most-fixed (3 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: Multiple fixes in the tar emulation module address path traversal via leading slashes, '..' components, and symlink traversal, indicating this component is the primary attack surface for arbitrary file writes during extraction.
: The delta backup restore path joins user-controlled relative paths with the data directory without sufficient normalization, allowing traversal outside the intended restore root.
Symlink Attack: Archiving xlog files without checking for symlinks can leak file contents from arbitrary locations on the filesystem.