{"items":[{"id":"NVI-00006718","kind":"vulnerability","title":"Kimai has an arbitrary file read in its invoice PDF renderer (admin)","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-h5fh-7hwr-97mw","CVE-2026-44298"],"plain_summary":"OSV carries this publisher advisory for kimai/kimai. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.56 for kimai/kimai. Confirm the publisher’s latest guidance.","source_ids":["sr-c02f95d3304fcbb4acd71e084e3cecd4"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-069dee40777eb6c4a1cd4051f34b5aad"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T10:50:27.867Z","value":"4.1 MEDIUM (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-96c08f6eefc6e77e299f9db7603fc8e0"},{"kind":"CVSS","as_of":"2026-06-17T10:50:27.867Z","value":"4.9 MEDIUM (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-96c08f6eefc6e77e299f9db7603fc8e0"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.278%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.20321. Missing scores are unknown.","source_id":"sr-069dee40777eb6c4a1cd4051f34b5aad"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-c02f95d3304fcbb4acd71e084e3cecd4","url":"https://github.com/advisories/GHSA-h5fh-7hwr-97mw","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-h5fh-7hwr-97mw","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.425Z"},{"id":"sr-96c08f6eefc6e77e299f9db7603fc8e0","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44298","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-44298","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:02.489Z"},{"id":"sr-069dee40777eb6c4a1cd4051f34b5aad","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-44298","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.378Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c02f95d3304fcbb4acd71e084e3cecd4"],"technology":"kimai/kimai","known_exclusions":[],"conditions_summary":"## Summary\n\nUsers with the role `System-Admin` (`ROLE_SYSTE_ADMIN`) and the permission `upload_invoice_template` can upload PDF invoice templates, which can call `pdfContext.setOption('associated_files', ...)` inside the sandboxed Twig render. \n\nThis is forwarded to mPDF's `SetAssociatedFiles()`, whose writer calls `file_get_contents($entry['path'])` during PDF output and embeds the bytes as a FlateDecode stream in the PDF. Any file readable by the PHP worker is returned to the attacker inside the rendered invoice.\n\n## Root cause\n\n1. `src/Twig/SecurityPolicy/StrictPolicy.php:123-128` explicitly whitelists `PdfContext::setOption()`:\n   ```php\n   if ($obj instanceof PdfContext) {\n       if ($lcm !== 'setoption') { throw ...; }\n       return;\n   }\n   ```\n\n2. `src/Pdf/MPdfConverter.php` keeps `associated_files` in the pass-through allowlist:\n   ```php\n   $allowed = ['mode','format','default_font_size','default_font', ... , 'associated_files','additional_xmp_rdf'];\n   ```\n   and then forwards it to mPDF:\n   ```php\n   if (array_key_exists('associated_files', $options) && is_array($options['associated_files'])) {\n       $associatedFiles = $options['associated_files'];\n       unset($option","public_affected_ranges":["ECOSYSTEM: introduced 2.32.0; fixed 2.56"]}],"null_published_at":"2026-11-04T18:04:07.066Z","source_updated_at":"2026-05-08T22:41:25.472Z","source_disclosed_at":"2026-05-08T22:22:36.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:20.425Z"},{"id":"NVI-00006718","kind":"vulnerability","title":"Kimai has an arbitrary file read in its invoice PDF renderer (admin)","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-h5fh-7hwr-97mw","CVE-2026-44298"],"plain_summary":"OSV carries this publisher advisory for kimai/kimai. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.56 for kimai/kimai. Confirm the publisher’s latest guidance.","source_ids":["sr-c02f95d3304fcbb4acd71e084e3cecd4"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-069dee40777eb6c4a1cd4051f34b5aad"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.278%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.20321. Missing scores are unknown.","source_id":"sr-069dee40777eb6c4a1cd4051f34b5aad"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-c02f95d3304fcbb4acd71e084e3cecd4","url":"https://github.com/advisories/GHSA-h5fh-7hwr-97mw","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-h5fh-7hwr-97mw","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.425Z"},{"id":"sr-069dee40777eb6c4a1cd4051f34b5aad","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-44298","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.378Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c02f95d3304fcbb4acd71e084e3cecd4"],"technology":"kimai/kimai","known_exclusions":[],"conditions_summary":"## Summary\n\nUsers with the role `System-Admin` (`ROLE_SYSTE_ADMIN`) and the permission `upload_invoice_template` can upload PDF invoice templates, which can call `pdfContext.setOption('associated_files', ...)` inside the sandboxed Twig render. \n\nThis is forwarded to mPDF's `SetAssociatedFiles()`, whose writer calls `file_get_contents($entry['path'])` during PDF output and embeds the bytes as a FlateDecode stream in the PDF. Any file readable by the PHP worker is returned to the attacker inside the rendered invoice.\n\n## Root cause\n\n1. `src/Twig/SecurityPolicy/StrictPolicy.php:123-128` explicitly whitelists `PdfContext::setOption()`:\n   ```php\n   if ($obj instanceof PdfContext) {\n       if ($lcm !== 'setoption') { throw ...; }\n       return;\n   }\n   ```\n\n2. `src/Pdf/MPdfConverter.php` keeps `associated_files` in the pass-through allowlist:\n   ```php\n   $allowed = ['mode','format','default_font_size','default_font', ... , 'associated_files','additional_xmp_rdf'];\n   ```\n   and then forwards it to mPDF:\n   ```php\n   if (array_key_exists('associated_files', $options) && is_array($options['associated_files'])) {\n       $associatedFiles = $options['associated_files'];\n       unset($option","public_affected_ranges":["ECOSYSTEM: introduced 2.32.0; fixed 2.56"]}],"null_published_at":"2026-10-31T22:13:44.221Z","source_updated_at":"2026-05-08T22:41:25.472Z","source_disclosed_at":"2026-05-08T22:22:36.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:20.425Z"}],"next_cursor":null,"snapshot_revision":"42594"}