Directory traversal in github.com/TykTechnologies/tyk/gateway
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
All versions of package github.com/tyktechnologies/tyk/gateway are vulnerable to Directory Traversal via the handleAddOrUpdateApi function. This function is able to delete arbitrary JSON files on the disk where Tyk is running via the management API. The APIID is provided by the user and this value is then used to create a file on disk. If there is a file found with the same name then it will be deleted and then re-created with the contents of the API creation request.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/TykTechnologies/tyk/gateway | all versions | — | No fix listed | CNA |
- github.com/TykTechnologies/tyk/gateway Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23357
- 2026-10-03 Alias added: GHSA-3qx7-r2pf-8cwr
References
More Tyk vulnerabilities
- TI-2023-22554 Blind SQL injection in api_version parameter in Tyk Gateway version 5.0.3 allows attacker… CVSS 3.1CRITICAL 9.8
- TI-2023-22553 Blind SQL injection in api_id parameter in Tyk Gateway version 5.0.3 allows attacker to… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-23357 · CVE Program
- CVE-2021-23357 · NVD
- FIRST EPSS
- GHSA-3qx7-r2pf-8cwr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences