{"metadata": {"vulnerability": "CVE-2026-59191", "count": 19, "kinds": {"milestone": 4, "sighting": 7, "kev": 0, "other": 8}, "linked_omitted": 0}, "data": [{"timestamp": "2026-07-02T19:53:48.831Z", "date_only": false, "value": "2026-07-02T19:53:48.831Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.dateReserved"}, {"timestamp": "2026-11-11T04:24:36.256Z", "date_only": false, "value": "2026-11-11T04:24:36.256Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2026-11-11T04:24:36.256Z", "date_only": false, "value": "2026-11-11T04:24:36.256Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / GitHub_M", "record": "CVE-2026-59191", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-11T05:19:49Z", "date_only": false, "value": "2026-11-11T05:19:49Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-HQ9R-72JQ-2PXP", "record": "GHSA-HQ9R-72JQ-2PXP", "field": "database_specific.nvd_published_at", "linked_record": true}, {"timestamp": "2026-11-11T05:19:49.280Z", "date_only": false, "value": "2026-11-11T05:19:49.280", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-59191", "record": "FKIE_CVE-2026-59191", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-11T06:08:26.277Z", "date_only": false, "value": "2026-11-11T06:08:26.277991Z", "kind": "sighting", "label": "Seen", "source": "https://bsky.app/profile/cve.skyfleet.blue/post/guj4lfn6ux234", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "36bfcb9b-bccd-4ec9-abac-2146f432565f", "content": "CVE-2026-59191 - TwigView: FileLoader is vulnerable to arbitrary file read\nCVE ID : CVE-2026-59191\n \n Published : Nov. 11, 2026, 4:24 a.m. | 1\u00a0hour, 5\u00a0minutes ago\n \n Description : TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expo...", "url": "https://bsky.app/profile/cve.skyfleet.blue/post/guj4lfn6ux234"}, {"timestamp": "2026-11-11T15:28:27.368Z", "date_only": false, "value": "2026-11-11T15:28:27.368961Z", "kind": "sighting", "label": "Seen", "source": "https://infosec.exchange/users/cve/statuses/117598513197364499", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "41dcc58a-817e-44d7-9d87-a2f78af6efc6", "content": "CVE-2026-59191 TwigView: FileLoader is vulnerable to arbitrary file read TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expose CakePHP functions and jasny/twig-extensions helpers. Prior to versions 1.3.3 and 2.1.2, if FileLoader::findTemplate() is supplied un-validated user controlled data, arbitrary files can be read. This issue has been patched in versions 1.3.3 and 2.1.2.\nhttps://www.cve.org/CVERecord?id=CVE-2026-59191https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxphttps://github.com/cakephp/twig-view/releases/tag/1.3.3https://github.com/cakephp/twig-view/releases/tag/2.1.2#cakephp #twig-view#CVE_2026_59191#bot", "url": "https://infosec.exchange/users/cve/statuses/117598513197364499"}, {"timestamp": "2026-11-12T16:37:57.947Z", "date_only": false, "value": "2026-11-12T16:37:57.947524Z", "kind": "other", "label": "Recorded", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-59191", "field": "containers.adp.0.metrics.0.other.content.timestamp"}, {"timestamp": "2026-11-12T16:37:57.947Z", "date_only": false, "value": "2026-11-12T16:37:57.947524Z", "kind": "other", "label": "Recorded", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-59191", "record": "FKIE_CVE-2026-59191", "field": "metrics.ssvcV203.0.ssvcData.timestamp", "linked_record": true}, {"timestamp": "2026-11-12T17:58:16.887Z", "date_only": false, "value": "2026-11-12T17:58:16.887Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-11-12T17:58:16.887Z", "date_only": false, "value": "2026-11-12T17:58:16.887Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-59191", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-12T22:18:51.470Z", "date_only": false, "value": "2026-11-12T22:18:51.470", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-59191", "record": "FKIE_CVE-2026-59191", "field": "lastModified", "linked_record": true}, {"timestamp": "2026-11-24T22:39:23Z", "date_only": false, "value": "2026-11-24T22:39:23Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-HQ9R-72JQ-2PXP", "record": "GHSA-HQ9R-72JQ-2PXP", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-24T22:39:23Z", "date_only": false, "value": "2026-11-24T22:39:23Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-HQ9R-72JQ-2PXP", "record": "GHSA-HQ9R-72JQ-2PXP", "field": "modified", "linked_record": true}, {"timestamp": "2026-11-25T00:30:51Z", "date_only": false, "value": "2026-11-25T00:30:51.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/alon710/2c0a441665eecbd6b01a17d8f90d59af", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "fd8fb3bb-db41-434a-ac3d-3f6142f10716", "content": "# CVE-2026-59191: CVE-2026-59191: Path Traversal and Arbitrary File Read in CakePHP TwigView FileLoader\n\n&gt; **CVSS Score:** 6.9\n&gt; **Published:** 2026-11-24\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-59191\n\n## Summary\nA path traversal vulnerability exists in the cakephp/twig-view plugin for the CakePHP framework prior to versions 1.3.3 and 2.1.2. The Cake\\TwigView\\Twig\\FileLoader::findTemplate() method verifies template existence using PHP's native file_exists() function without ensuring the target path resides within configured application or plugin template directories. When user-controlled input is passed to template inclusion mechanisms, an unauthenticated remote attacker can read arbitrary local files accessible to the PHP runtime.\n\n## TL;DR\nCakePHP's TwigView plugin (versions &lt; 1.3.3 and &gt;= 2.0.0, &lt; 2.1.2) fails to restrict template resolution paths in FileLoader::findTemplate(), allowing attackers to read arbitrary local files when user input is passed to Twig include tags.\n\n## Technical Details\n\n- **Vulnerability Type**: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\n- **Affected Component**: Cake\\TwigView\\Twig\\FileLoader::findTemplate() in cakephp/twig-view\n- **Attack Vector**: Network (Unauthenticated arbitrary file read via user-controlled template inclusion)\n- **CVSS v4.0 Score**: 6.9 Medium (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N)\n- **EPSS Score**: 0.48% (41.73rd Percentile)\n- **Exploit Status**: No known public exploits or active exploitation (Not in CISA KEV)\n- **Patched Versions**: 1.3.3 (1.x branch), 2.1.2 (2.x branch)\n\n## Affected Systems\n\n- cakephp/twig-view (1.x branch prior to 1.3.3)\n- cakephp/twig-view (2.x branch prior to 2.1.2)\n- **cakephp/twig-view**: &lt; 1.3.3 (Fixed in: `1.3.3`)\n- **cakephp/twig-view**: &gt;= 2.0.0, &lt; 2.1.2 (Fixed in: `2.1.2`)\n\n## Mitigation\n\n- Upgrade cakephp/twig-view to version 1.3.3 (for 1.x series) or 2.1.2 (for 2.x series) to enforce directory prefix validation in FileLoader::findTemplate().\n- Implement strict allowlist validation for any user-controlled parameters that influence dynamic template selection or partial view rendering.\n- Strip or reject path traversal sequences ('..', '/', '\\') from variables passed to Twig's include or extends constructs as a defense-in-depth measure.\n- Restrict filesystem permissions for the PHP runtime user so that sensitive system and configuration files outside the web application root cannot be read unnecessarily.\n\n**Remediation Steps:**\n1. Identify the installed version of cakephp/twig-view by running: composer show cakephp/twig-view\n2. Update composer.json or run 'composer require cakephp/twig-view:^2.1.2' (for 2.x) or 'composer require cakephp/twig-view:^1.3.3' (for 1.x).\n3. Audit all .twig template files for dynamic expressions inside {% include %}, {% extends %}, {% embed %}, or include() calls.\n4. Clear compiled Twig template caches and verify application functionality using regression tests.\n\n## References\n\n- [GitHub Security Advisory GHSA-hq9r-72jq-2pxp](https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp)\n- [NVD - CVE-2026-59191 Detail](https://nvd.nist.gov/vuln/detail/CVE-2026-59191)\n- [CVE.org Record: CVE-2026-59191](https://www.cve.org/CVERecord?id=CVE-2026-59191)\n- [Fix Commit 1c5107c9f562ab285273ceafd1c28bf314faa6d5 (2.x Branch)](https://github.com/cakephp/twig-view/commit/1c5107c9f562ab285273ceafd1c28bf314faa6d5)\n- [Fix Commit 65f5035ee65e76925242fdca2dc2bb0d732b6c1d (1.x Branch)](https://github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d)\n- [CakePHP TwigView Release 2.1.2](https://github.com/cakephp/twig-view/releases/tag/2.1.2)\n- [CakePHP TwigView Release 1.3.3](https://github.com/cakephp/twig-view/releases/tag/1.3.3)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-59191) - Automated Vulnerability Intelligence*", "url": "https://gist.github.com/alon710/2c0a441665eecbd6b01a17d8f90d59af"}, {"timestamp": "2026-11-25T03:01:21Z", "date_only": false, "value": "2026-11-25T03:01:21.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "Telegram/YYLS-q7SLVuCbpEzf3EJauhfj1ibpkjoBnLgZ0ASA3gDkmU", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "dd37fa7c-38e2-4357-9bea-284b0ca3cbc6", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, {"timestamp": "2026-11-25T03:01:21Z", "date_only": false, "value": "2026-11-25T03:01:21.000000Z", "kind": "sighting", "label": "Seen", "source": "Telegram/YYLS-q7SLVuCbpEzf3EJauhfj1ibpkjoBnLgZ0ASA3gDkmU", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "e1b7644a-13c8-459d-9cf9-818989a2a2b8"}, {"timestamp": "2026-11-25T09:00:05Z", "date_only": false, "value": "2026-11-25T09:00:05.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "Telegram/yEsdJiraVrtwHiuNHxNgleFVyavDhEOj-IgA33dduIASLNg", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "493ae8c7-00ef-4725-ba72-b7cfae2ffe19", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, {"timestamp": "2026-11-25T09:00:05Z", "date_only": false, "value": "2026-11-25T09:00:05.000000Z", "kind": "sighting", "label": "Seen", "source": "Telegram/yEsdJiraVrtwHiuNHxNgleFVyavDhEOj-IgA33dduIASLNg", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "8acfa43a-8df5-4d0f-93f7-2fb8af9355b6"}], "metrics": {"as_of": "2026-11-25T13:24:03.421Z", "anchors": {"origin": {"timestamp": "2026-11-11T04:24:36.256Z", "date_only": false, "value": "2026-11-11T04:24:36.256Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2026-11-11T04:24:36.256Z", "date_only": false, "value": "2026-11-11T04:24:36.256Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "exploit_publication": {"timestamp": "2026-11-25T03:01:21Z", "date_only": false, "value": "2026-11-25T03:01:21.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "Telegram/YYLS-q7SLVuCbpEzf3EJauhfj1ibpkjoBnLgZ0ASA3gDkmU", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "dd37fa7c-38e2-4357-9bea-284b0ca3cbc6", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, "exploitation": null, "patch": null}, "vendor_response_time": {"available": false, "missing": ["start", "end"]}, "time_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit_publication": {"available": true, "seconds": 1204604.744, "hours": 334.61242888888887, "days": 13.942184537037036, "min_seconds": 1204604.744, "max_seconds": 1204604.744, "approximate": false, "ongoing": false, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-11T04:24:36.256Z", "date_only": false, "value": "2026-11-11T04:24:36.256Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-25T03:01:21Z", "date_only": false, "value": "2026-11-25T03:01:21.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "Telegram/YYLS-q7SLVuCbpEzf3EJauhfj1ibpkjoBnLgZ0ASA3gDkmU", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "dd37fa7c-38e2-4357-9bea-284b0ca3cbc6", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}}, "time_to_patch": {"available": false, "missing": ["start", "end"]}, "total_time_to_patch": {"available": false, "missing": ["start", "end"]}, "disclosure_to_patch": {"available": false, "missing": ["end"]}, "time_unpatched": {"available": true, "seconds": 1241967.165086, "hours": 344.9908791905556, "days": 14.374619966273148, "min_seconds": 1241967.165086, "max_seconds": 1241967.165086, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-11T04:24:36.256Z", "date_only": false, "value": "2026-11-11T04:24:36.256Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-59191", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-25T13:24:03.421Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": true, "seconds": 37362.421086, "hours": 10.378450301666668, "days": 0.4324354292361111, "min_seconds": 37362.421086, "max_seconds": 37362.421086, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-25T03:01:21Z", "date_only": false, "value": "2026-11-25T03:01:21.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "Telegram/YYLS-q7SLVuCbpEzf3EJauhfj1ibpkjoBnLgZ0ASA3gDkmU", "record": "CVE-2026-59191", "field": "creation_timestamp", "uuid": "dd37fa7c-38e2-4357-9bea-284b0ca3cbc6", "metric_role": "exploit_publication", "metric_basis": "sighting_report"}, "end": {"timestamp": "2026-11-25T13:24:03.421Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}}}
