The from_yaml method in serializers.py in Django Tastypie before 0.9.10 does not properly…
Priority LOW 38CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
The from_yaml method in serializers.py in Django Tastypie before 0.9.10 does not properly deserialize YAML data, which allows remote attackers to execute arbitrary Python code via vectors related to the yaml.load method.
Why it matters now
EPSS 0.02476 84th percentileScored 2026-11-07
Fix Fixed django-tastypie (PyPI): 0.9.10
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 |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | django-tastypie (PyPI) | before 0.9.10 | 0.9.10 | Patch available | GHSA-qgvw-qc2q-gv5q |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- django-tastypie (PyPI) Vendor— Affected before 0.9.10 Fixed in 0.9.10 Patch available GHSA-qgvw-qc2q-gv5q
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:tastypie:*:*:*:*:*:*:*:* | up to 0.9.9 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:tastypie:*:*:*:*:*:*:*:* Versions up to 0.9.9 Vulnerable ·djangoproject
Remediation
- Fix · GHSA-qgvw-qc2q-gv5q django-tastypie (PyPI) Fixed in 0.9.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2011-4104
- 2026-10-03 Alias added: GHSA-qgvw-qc2q-gv5q
References
Patch 2
Advisory 2
Other 6
- https://groups.google.com/forum/#%21topic/django-tastypie/i2aNGDHTUBI
- [oss-security] 20111102 Re: Re: CVE request for Django-piston and Tastypie
- https://github.com/pypa/advisory-database/tree/main/vulns/django-tastypie/PYSEC-2014-25.yaml
- https://github.com/toastdriven/django-tastypie
- https://groups.google.com/forum/#!topic/django-tastypie/i2aNGDHTUBI
- https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases
Sources
- CVE-2011-4104 · CVE Program
- CVE-2011-4104 · NVD
- FIRST EPSS
- GHSA-qgvw-qc2q-gv5q · 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