{"id":"CVE-2026-25125","aliases":["CVE-2026-25125","GHSA-g6v3-wv4j-x9hg"],"related":[],"kind":"vulnerability","state":"published","title":"October CMS: Environment Variable Exfiltration via INI Parser Interpolation","summary":"October is a Content Management System (CMS) and web platform. Versions prior to 3.7.14 and 4.1.10 contain a server-side information disclosure vulnerability in the INI settings parser. Because PHP's parse_ini_string() function supports ${} syntax for environment variable interpolation, attackers with Editor access could inject patterns such as ${APP_KEY} or ${DB_PASSWORD} into CMS page settings fields, causing sensitive environment variables to be resolved, stored in the template, and returned to the attacker when the page was reopened. This could enable exfiltration of credentials and secrets (database passwords, AWS keys, application keys), potentially leading to further attacks such as database access or cookie forgery. The vulnerability is only relevant when cms.safe_mode is enabled, as direct PHP injection is already possible otherwise. This issue has been fixed in versions 3.7.14 and 4.1.10. If users are unable to immediately upgrade, they can workaround this issue by restricting Editor tool access to fully trusted administrators only, and ensuring database and cloud service credentials are not accessible from the web server's network.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"October is a Content Management System (CMS) and web platform. Versions prior to 3.7.14 and 4.1.10 contain a server-side information disclosure vulnerability in the INI settings parser. Because PHP's parse_ini_string() function supports ${} syntax for environment variable interpolation, attackers with Editor access could inject patterns such as ${APP_KEY} or ${DB_PASSWORD} into CMS page settings fields, causing sensitive environment variables to be resolved, stored in the template, and returned to the attacker when the page was reopened. This could enable exfiltration of credentials and secrets (database passwords, AWS keys, application keys), potentially leading to further attacks such as database access or cookie forgery. The vulnerability is only relevant when cms.safe_mode is enabled, as direct PHP injection is already possible otherwise. This issue has been fixed in versions 3.7.14 and 4.1.10. If users are unable to immediately upgrade, they can workaround this issue by restricting Editor tool access to fully trusted administrators only, and ensuring database and cloud service credentials are not accessible from the web server's network.","source":"cvelist"},{"lang":"en","text":"A server-side information disclosure vulnerability was identified in the INI settings parser. PHP's `parse_ini_string()` function supports `${}` syntax for environment variable interpolation. Attackers with Editor access could inject `${APP_KEY}`, `${DB_PASSWORD}`, or similar patterns into CMS page settings fields, causing sensitive environment variables to be resolved and stored in the template. These values were then returned to the attacker when the page was reopened.\n\n### Impact\n- Exfiltration of sensitive environment variables (APP_KEY, DB credentials, AWS keys, etc.)\n- Could enable further attacks: database access, cookie forgery, AWS resource access\n- Requires authenticated backend access with Editor permissions\n- Only relevant when `cms.safe_mode` is enabled (otherwise direct PHP injection is already possible)\n\n### Patches\nThe vulnerability has been patched in v3.7.14 and v4.1.10. All users are encouraged to upgrade to the latest patched version.\n\n### Workarounds\nIf upgrading immediately is not possible:\n- Restrict Editor tool access to fully trusted administrators only\n- Ensure database and cloud service credentials are not accessible from the web server's network\n\n### References\n- Reported by Pentest-Tools.com","format":"markdown","source":"ghsa"},{"lang":"es","text":"October es un Sistema de Gestión de Contenidos (CMS) y plataforma web. Las versiones anteriores a la 3.7.14 y 4.1.10 contienen una vulnerabilidad de revelación de información del lado del servidor en el analizador de configuraciones INI. Debido a que la función parse_ini_string() de PHP soporta la sintaxis ${} para la interpolación de variables de entorno, los atacantes con acceso de Editor podrían inyectar patrones como ${APP_KEY} o ${DB_PASSWORD} en los campos de configuración de las páginas del CMS, haciendo que las variables de entorno sensibles se resolvieran, se almacenaran en la plantilla y se devolvieran al atacante cuando la página se volvía a abrir. Esto podría permitir la exfiltración de credenciales y secretos (contraseñas de base de datos, claves de AWS, claves de aplicación), lo que podría conducir a ataques adicionales como el acceso a la base de datos o la falsificación de cookies. La vulnerabilidad solo es relevante cuando cms.safe_mode está habilitado, ya que la inyección directa de PHP ya es posible de otra manera. Este problema ha sido solucionado en las versiones 3.7.14 y 4.1.10. Si los usuarios no pueden actualizar de inmediato, pueden solucionar este problema restringiendo el acceso a la herramienta de Editor solo a administradores de plena confianza y asegurándose de que las credenciales de la base de datos y los servicios en la nube no sean accesibles desde la red del servidor web.","source":"nvd"}],"published":"2026-04-14T20:39:59.164Z","modified":"2026-07-25T11:10:00.100Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-94","CWE-200"],"affected":[{"ranges":[{"version":"< 3.7.14","status":"affected"},{"version":">= 4.0.0, < 4.1.10","status":"affected"}],"vendor":"octobercms","product":"october","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.1.10"}],"ecosystem":"Packagist","package":"october/rain","purl":"pkg:composer/october/rain","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.7.14"}],"ecosystem":"Packagist","package":"october/rain","purl":"pkg:composer/october/rain","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.7.14"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.10"}],"vendor":"octobercms","product":"october","cpe":"cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-g6v3-wv4j-x9hg","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25125","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octobercms/october","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-15T14:24:59.493Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25125","url":"https://www.cve.org/CVERecord?id=CVE-2026-25125","licence":"CVE Terms of Use","modified":"2026-04-15T14:25:12.276Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g6v3-wv4j-x9hg","url":"https://github.com/advisories/GHSA-g6v3-wv4j-x9hg","licence":"CC-BY-4.0","modified":"2026-05-08T20:46:20.988Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25125","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25125","licence":"Public domain","modified":"2026-07-25T11:10:00.100Z"}],"updatedAt":"2026-11-25T22:59:18.789Z","epss":{"score":0.00346,"percentile":0.30193,"date":"2026-12-01T12:00:22.000Z"}}