Vulnerability DatabaseGHSA-hf5p-q87m-crj7

GHSA-hf5p-q87m-crj7
Java vulnerability analysis and mitigation

Summary

A path traversal vulnerability in LocalFolderExtractor allows an attacker to write arbitrary files with attacker-controlled content into sibling directories when a crafted RAR archive is extracted.

Example

Given an extraction directory set to /tmp/extract, a crafted archive with an entry with the filename as ../extract_evil/file.txt would be actually extracted to /tmp/extract_evil/file.txt.

Details

The createDirectory() and createFile() methods inLocalFolderExtractor validate extraction paths using a string prefix.


SourceNVD

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40478CRITICAL9
  • JavaJava
  • org.thymeleaf:thymeleaf
NoYesApr 15, 2026
CVE-2026-40477CRITICAL9
  • JavaJava
  • org.thymeleaf:thymeleaf
NoYesApr 15, 2026
GHSA-vp6r-9m58-5xv8HIGH8.1
  • JavaJava
  • org.omnifaces:omnifaces
NoYesApr 16, 2026
GHSA-hf5p-q87m-crj7MEDIUM5.9
  • JavaJava
  • com.github.junrar:junrar
NoYesApr 16, 2026
CVE-2026-34164MEDIUM4.9
  • JavaJava
  • com.ritense.valtimo:inbox
NoYesApr 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management