{"id":"CVE-2021-43836","aliases":["CVE-2021-43836","GHSA-vx6j-pjrh-vgjh"],"related":[],"kind":"vulnerability","state":"published","title":"PHP file inclusion in the Sulu admin panel","summary":"Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nAn attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution.\n\n* Compromised components: Arbitrary file read on the server, (Potential) Remote code execution\n* Exploitation pre-requisite: User account on the backend\n\n### Patches\n\n_Has the problem been patched? What versions should users upgrade to?_\n\nThe problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0\n\n### Workarounds\n\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nOverwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language. \n\n### References\n\n_Are there any links users can visit to find out more?_\n\nCurrently not.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [example link to repo](http://example.com)\n* Email us at [example email address](mailto:example@example.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Sulu es un sistema de administración de contenidos PHP de código abierto basado en el framework Symfony. En las versiones afectadas, un atacante puede leer archivos locales arbitrarios por medio de una inclusión de archivos PHP. En una configuración por defecto esto también conlleva a una ejecución de código remota. El problema está parcheado con las versiones 1.6.44, 2.2.18, 2.3.8, 2.4.0. Para usuarios que no puedan actualizar sobrescribir el servicio \"sulu_route.generator.expression_token_provider\" y envolver el traductor antes de pasarlo al lenguaje de expresión","source":"nvd"}],"published":"2021-12-15T20:10:10.000Z","modified":"2026-07-08T06:28:30.986Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.6.44","status":"affected"},{"version":">= 2.0.0, < 2.2.18","status":"affected"},{"version":">= 2.3.0, < 2.3.8","status":"affected"}],"vendor":"sulu","product":"sulu","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.44"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.2.18"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.8"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.4.0-RC1","status":"affected","fixed":"2.4.0"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.6.44"},{"status":"affected","introduced":"2.0.0","fixed":"2.2.18"},{"status":"affected","introduced":"2.3.0","fixed":"2.3.8"},{"status":"affected","version":"2.4.0"}],"vendor":"sulu","product":"sulu","cpe":"cpe:2.3:a:sulu:sulu:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43836","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sulu/sulu","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43836","url":"https://www.cve.org/CVERecord?id=CVE-2021-43836","licence":"CVE Terms of Use","modified":"2024-08-04T04:10:16.325Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vx6j-pjrh-vgjh","url":"https://github.com/advisories/GHSA-vx6j-pjrh-vgjh","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:30.986Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43836","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43836","licence":"Public domain","modified":"2026-06-17T04:11:32.410Z"}],"updatedAt":"2026-11-25T22:24:36.308Z","epss":{"score":0.02047,"percentile":0.8189,"date":"2026-11-30T12:00:22.000Z"}}