Vulnerability · HSEC-2026-0006
Cabal deletes project source files during configure
Published Apr 8, 2026 · catalog updated Apr 8, 2026 · Cabal deletes project source
Open the advisory
Exploitation likelihood is not on this record for HSEC-2026-0006. A missing EPSS score is not a low risk. Compare Cabal deletes project source with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Cabal deletes project source).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- Unknown—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Not established
- Affected products
- Hackage Cabal
# Cabal deletes project source files during configure The function in removes header files from the source directory when a header with the same name exists in both the build directory and the source directory. This behavior was introduced in commit to resolve header precedence issues, as C compilers prefer relative includes over search paths. The workaround uses on source directory files, which is destructive and should not happen during a build process. While the current implementation does not follow symlinks explicitly, the deletion of source files outside of the project during a build operation is possible on Microsoft Windows.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Hackage Cabal2.2.0.0, 2.2.0.1, 2.4.0.0
- Hackage Cabalfrom 2.2
How to fix HSEC-2026-0006
Recommended remediation
No required-action text, fix commit, or clear fixed-version range is stored yet.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for HSEC-2026-0006. A missing EPSS score is not a low risk. Compare Cabal deletes project source with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with Cabal 2.2.0.0, 2.2.0.1, 2.4.0.0; Cabal from 2.2. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Apr 8, 2026 · OpenSSF OSV / OSV Scanner
Detected
# Cabal deletes project source files during configure The function in removes header files from the source directory when a header with the same name exists in both the build directory and the source directory. This behavior was introduced in commit to resolve header precedence issues, as C compilers prefer relative includes over search paths. The workaround uses on source directory files, which i
Apr 8, 2026 · OpenSSF OSV / OSV Scanner
Updated
# Cabal deletes project source files during configure The function in removes header files from the source directory when a header with the same name exists in both the build directory and the source directory. This behavior was introduced in commit to resolve header precedence issues, as C compilers prefer relative includes over search paths. The workaround uses on source directory files, which i
Sources
- OpenSSF OSV / OSV ScannerPackage advisoryHSEC-2026-0006
Cabal deletes project source files during configure
osv.dev
References
Freshness
Last verified in this catalog Apr 8, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.