CVE-2026-142271 — Claroline
Summary
Claroline through 15.0.15 contains an unrestricted file upload vulnerability that allows authenticated quiz editors to write PHP files by supplying a crafted image type in Graphic questions. Attackers can set types like image/php so GraphicQuestionSerializer writes base64 data into the public data directory, executing code as the web server or running script in the Claroline origin.
Severity breakdown
High · 7.7
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-434: Unrestricted Upload of File with Dangerous Type
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Claroline | ≤ 15.0.15 | — |
References by type
Other references
Affected
- Claroline
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142271?
Claroline through 15.0.15 contains an unrestricted file upload vulnerability that allows authenticated quiz editors to write PHP files by supplying a crafted image type in Graphic questions. Attackers can set types like image/php so GraphicQuestionSerializer writes base64 data into the public data directory, executing code as the web server or running script in the Claroline origin. Weakness type: Unrestricted Upload of File with Dangerous Type (CWE-434).
How severe is CVE-2026-142271?
CVE-2026-142271 has a CVSS 4.0 base score of 7.7 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142271 being exploited?
Not as far as is known: CVE-2026-142271 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142271?
Claroline ≤ 15.0.15.
How do I fix CVE-2026-142271?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.