{"items":[{"id":"NVI-00018296","kind":"vulnerability","title":"BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-mcfx-4vc6-qgxv","CVE-2026-40610"],"plain_summary":"GitHub lists this reviewed advisory for bentoml. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-09ff044864e207c419e50c580d822727"],"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-08T23:20:49.000Z","value":"5.5 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-09ff044864e207c419e50c580d822727"}],"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-09ff044864e207c419e50c580d822727","url":"https://github.com/advisories/GHSA-mcfx-4vc6-qgxv","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-mcfx-4vc6-qgxv","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T00:51:53.608Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-09ff044864e207c419e50c580d822727"],"technology":"bentoml","known_exclusions":[],"conditions_summary":"### Summary\nBentoML's `bentoml build` packaging workflow follows attacker-controlled symlinks inside the build context and copies the referenced file contents into the generated Bento artifact.\n\nIf a victim builds an untrusted repository or other attacker-supplied build context, the attacker can place a symlink such as `loot.txt -> /tmp/outside-marker.txt` or a link to a more sensitive local file. When `bentoml build` runs, BentoML dereferences the symlink and packages the target file contents into the Bento. The leaked file can then propagate further through export, push, or containerization workflows.\n\n### Details\nThe vulnerable code walks files under the build context and copies each matched entry into the Bento source directory:\n\n```python\nfor root, _, files in os.walk(ctx_path):\n    for f in files:\n        dir_path = os.path.relpath(root, ctx_path)\n        path = os.path.join(dir_path, f).replace(os.sep, \"/\")\n        if specs.includes(path):\n            src_file = ctx_path.joinpath(path)\n            dst_file = target_fs.joinpath(dest_path)\n            shutil.copy(src_file, dst_file)\n```\n\nThere is no validation that the resolved path of `src_file` remains inside `ctx_path` befo","public_affected_ranges":["<= 1.4.38"]}],"null_published_at":"2026-11-07T07:07:39.805Z","source_updated_at":"2026-06-08T23:20:49.000Z","source_disclosed_at":"2026-05-07T16:39:47.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-07T00:51:53.608Z"}],"next_cursor":null,"snapshot_revision":"42594"}