Link followingin the commons-fileupload:commons-fileupload package.
No public exploit found; not on exploited lists.
The default configuration of javax.servlet.context.tempdir in Apache Commons FileUpload 1.0 through 1.2.2 uses the /tmp directory for uploaded files, which allows local users to overwrite arbitrary files via an unspecified symlink attack.
- Upgrade commons-fileupload:commons-fileupload (Maven) to 1.2.2 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Dec 2012CVE ID reserved by redhat.
- 15 Mar 2013Published in the CVE List.
- 7 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
Same weakness: Link following
- www.securityfocus.com vdb-entry, x_refsource_BID
- marc.info vendor-advisory, x_refsource_HP
- archives.neohapsis.com mailing-list, x_refsource_BUGTRAQ
- www.oracle.com x_refsource_CONFIRM
- www.osvdb.org vdb-entry, x_refsource_OSVDB
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
Patchminder. CVE-2013-0248: Link following in the commons-fileupload:commons-fileupload package. https://patchminder.com/cve/cve-2013-0248/ (accessed 5 December 2026).