Skip to content
Heist/ feed
Back to feed
Medium

Insecure default setting for Server Pro installed via Overleaf toolkit

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45313
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:09 UTC · Revision 1

Source evidence

Insecure default setting for Server Pro installed via Overleaf toolkit

core-osv · Original source

Published 2 Sept 2024, 16:54 UTC

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.

osv:CVE-2024-45313
Complete source record
{
  "id": "3473033509416edb1e790f1dc94c3824fb5da986b69506cf62c4daed2a1aed71",
  "url": "https://osv.dev/vulnerability/CVE-2024-45313",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insecure default setting for Server Pro installed via Overleaf toolkit",
    "summary": "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.",
    "evidence": "osv:CVE-2024-45313",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-45313",
      "aliases": [
        "CVE-2024-45313",
        "GHSA-m95q-g8qg-wgj4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/overleaf/toolkit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7a8401897b24777b47338452ff8d12e2fb6dd5ff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "7a8401897b24777b47338452ff8d12e2fb6dd5ff"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45313.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.211228077Z",
      "provider": "osv",
      "references": [
        "https://github.com/overleaf/overleaf/wiki/Server-Pro:-Sandboxed-Compiles",
        "https://github.com/overleaf/toolkit/blob/master/doc/sandboxed-compiles.md#enabling-sibling-containers",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45313.json",
        "https://github.com/overleaf/overleaf/security/advisories/GHSA-m95q-g8qg-wgj4",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45313",
        "https://github.com/overleaf/toolkit/commit/7a8401897b24777b47338452ff8d12e2fb6dd5ff"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1188",
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Docker-Compose: < 2024-08-28"
                  },
                  {
                    "last_affected": "Docker-Compose: < 2024-08-28"
                  },
                  {
                    "introduced": "Toolkit: < 2024-07-17"
                  },
                  {
                    "last_affected": "Toolkit: < 2024-07-17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2024-07-17"
                  },
                  {
                    "fixed": "2024-08-28"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45313.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45313",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488124,
  "published_at": "2024-09-02T16:54:19.915+00:00"
}