CVE-2024-45313
Insecure default setting for Server Pro installed via Overleaf toolkit
Mitigation
- Upgrade overleaf to 2024-07-17 or later.
Who should check
- Anyone running overleaf Docker-Compose: < 2024-08-28; Toolkit: < 2024-07-17
Vulnerability facts
- Affected
- overleaf Docker-Compose: < 2024-08-28; Toolkit: < 2024-07-17
- Fixed in
- overleaf 2024-08-28, overleaf 2024-07-17
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.61% chance of exploitation in 30 days (percentile 43, 2026-11-26)
- CWE
- CWE-284, CWE-1188
- Modified
Description
Overleaf is a web-based collaborative LaTeX editor. When installing Server Pro using the Overleaf Toolkit from before 2024-07-17 or legacy docker-compose.yml from before 2024-08-28, the configuration for LaTeX compiles was insecure by default, requiring the administrator to enable the security features via a configuration setting (`SIBLING_CONTAINERS_ENABLED` in Toolkit, `SANDBOXED_COMPILES` in legacy docker-compose/custom deployments). If these security features are not enabled then users have access to the `sharelatex` container resources (filesystem, network, environment variables) when running compiles, leading to multiple file access vulnerabilities, either directly or via symlinks created during compiles. The setting has now been changed to be secure by default for new installs in the Toolkit and legacy docker-compose deployment. The Overleaf Toolkit has been updated to set `SIBLING_CONTAINERS_ENABLED=true` by default for new installs. It is recommended that any existing installations using the previous default setting migrate to using sibling containers. Existing installations can set `SIBLING_CONTAINERS_ENABLED=true` in `config/overleaf.rc` as a mitigation. In legacy docker-compose/custom deployments `SANDBOXED_COMPILES=true` should be used.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| overleaf | Docker-Compose: < 2024-08-28; Toolkit: < 2024-07-17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45313. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45313.md Affected: overleaf Docker-Compose: < 2024-08-28; Toolkit: < 2024-07-17 Fixed in: overleaf 2024-08-28, overleaf 2024-07-17 Steps: 1. Search this machine and project for overleaf: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-45313 being exploited?
There is no confirmed exploitation: CVE-2024-45313 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45313?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-45313?
overleaf Docker-Compose: < 2024-08-28; Toolkit: < 2024-07-17.
Is there a fix for CVE-2024-45313?
Yes. Fixed in overleaf 2024-08-28, overleaf 2024-07-17. Upgrade overleaf to 2024-07-17 or later.
How do I check if I'm affected by CVE-2024-45313?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.