{"metadata": {"vulnerability": "CVE-2026-50871", "count": 14, "kinds": {"milestone": 4, "sighting": 2, "kev": 0, "other": 8}, "linked_omitted": 0}, "data": [{"timestamp": "2026-06-07T00:00:00Z", "date_only": false, "value": "2026-06-07T00:00:00.000Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2026-50871", "field": "cveMetadata.dateReserved"}, {"timestamp": "2026-06-13T12:45:36Z", "date_only": false, "value": "2026-06-13T12:45:36.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/pyuysig/01f00b5d7575f5a776b1f132ef9ecb46", "record": "CVE-2026-50871", "field": "creation_timestamp", "uuid": "88d1253f-b390-45a0-ae42-9be39455bc7d", "content": "# Vulnerability Report: CVE-2026-50871 - Reminiscence - Authenticated Windows media archiving command injection\n\n## Vulnerability Summary\nkanishka-linux Reminiscence 0.3.0 contains an OS command injection issue in the Windows media archiving and export pipeline. An authenticated user can store a crafted download_manager value and then trigger media archiving or Chromium export processing, leading to command execution on Windows deployments.\n\n## Affected Product\n- **Vendor**: kanishka-linux\n- **Product**: Reminiscence\n- **Version**: 0.3.0 on Windows deployments\n- **Vulnerable Component**: pages/views.py settings update handler, UserSettings.download_manager, pages/dbaccess.py media archiving and Chromium export subprocess helpers\n\n## Vulnerability Details\n- **Vulnerability Type**: OS Command Injection\n- **Weakness**: CWE-78\n- **Attack Conditions**: Remote authenticated user stores a crafted download_manager value and triggers a media URL or export operation that reaches the Windows shell execution path.\n\n## Report Body\n\n### Summary\nkanishka-linux Reminiscence 0.3.0 contains an OS command injection issue in the Windows media archiving and export pipeline. An authenticated user can store a crafted download_manager value and then trigger media archiving or Chromium export processing, leading to command execution on Windows deployments.\n\n### Details\nThe application stores a user-controlled download_manager setting and later uses it in media archiving or export helper execution. On Windows, the execution path allows shell metacharacters in that stored value to influence command execution.\n\n### PoC\n1. Prepare an environment matching the affected product and version above.\n2. Trigger the vulnerable component under the attack conditions described for CVE-2026-50871.\n3. Confirm the security result: A crafted download_manager value is persisted by an authenticated account and later interpreted when the application processes media archiving or export work, causing attacker-controlled command execution on Windows.\n\n### Impact\nAuthenticated command execution on affected Windows deployments.\n\n## Remediation\nDo not execute user-configurable command paths through a shell. Restrict download manager choices to trusted binaries and pass arguments as an argv array without shell interpretation.\n\n## Credit\n- Discoverer(s): Yuming Zhang and Song Li of Zhejiang University\n\n## Notes\nThis public reference is intended to support the CVE record with concise, factual vulnerability details. It intentionally avoids a full exploit release.\n", "url": "https://gist.github.com/pyuysig/01f00b5d7575f5a776b1f132ef9ecb46"}, {"timestamp": "2026-06-15T00:00:00Z", "date_only": false, "value": "2026-06-15T00:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-50871", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2026-06-15T18:52:55.262Z", "date_only": false, "value": "2026-06-15T18:52:55.262Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / mitre", "record": "CVE-2026-50871", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2026-06-15T20:16:29Z", "date_only": false, "value": "2026-06-15T20:16:29Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-P5JH-X5GW-RM3F", "record": "GHSA-P5JH-X5GW-RM3F", "field": "database_specific.nvd_published_at", "linked_record": true}, {"timestamp": "2026-06-15T20:16:29.883Z", "date_only": false, "value": "2026-06-15T20:16:29.883", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-50871", "record": "FKIE_CVE-2026-50871", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-06-15T21:30:40Z", "date_only": false, "value": "2026-06-15T21:30:40Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-P5JH-X5GW-RM3F", "record": "GHSA-P5JH-X5GW-RM3F", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-06-16T14:13:22.239Z", "date_only": false, "value": "2026-06-16T14:13:22.239411Z", "kind": "other", "label": "Recorded", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-50871", "field": "containers.adp.0.metrics.1.other.content.timestamp"}, {"timestamp": "2026-06-16T14:13:22.239Z", "date_only": false, "value": "2026-06-16T14:13:22.239411Z", "kind": "other", "label": "Recorded", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-50871", "record": "FKIE_CVE-2026-50871", "field": "metrics.ssvcV203.0.ssvcData.timestamp", "linked_record": true}, {"timestamp": "2026-06-16T14:14:42.415Z", "date_only": false, "value": "2026-06-16T14:14:42.415Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2026-50871", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-06-16T14:14:42.415Z", "date_only": false, "value": "2026-06-16T14:14:42.415Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-50871", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2026-06-16T15:33:47Z", "date_only": false, "value": "2026-06-16T15:33:47Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-P5JH-X5GW-RM3F", "record": "GHSA-P5JH-X5GW-RM3F", "field": "modified", "linked_record": true}, {"timestamp": "2026-06-17T10:57:46.930Z", "date_only": false, "value": "2026-06-17T10:57:46.930", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-50871", "record": "FKIE_CVE-2026-50871", "field": "lastModified", "linked_record": true}, {"timestamp": "2026-10-20T19:15:58Z", "date_only": false, "value": "2026-10-20T19:15:58.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/hoehyeonlab/3c7159db2556c415ad9ac6ea1202347c", "record": "CVE-2026-50871", "field": "creation_timestamp", "uuid": "e58d3e82-7120-4801-a61c-32c37e15d4f6", "content": "# OS Command Injection in kanishka-linux/reminiscence via bookmarked URL (Windows)\n\n## Summary\n\nReminiscence's bookmark/archive feature passes a user-supplied URL unsanitized\ninto a `subprocess` call made with `shell=True` on Windows deployments,\nallowing an authenticated user to execute arbitrary OS commands with the\nprivileges of the Reminiscence server process.\n\nThis is distinct from CVE-2026-50871 (same project, same vulnerability class \u2014\nWindows `shell=True` command injection in the archiving pipeline). That CVE's\ninjection point is the user-editable `download_manager` setting, consumed via\n`settings_row.download_manager.format(iurl=..., output=...)` in the\n`media_element` branch of `pages/dbaccess.py`. The one reported here is a\nseparate method, `convert_html_pdf_with_chromium`, which builds a fixed\nChromium command list and concatenates the bookmarked URL directly, with no\nsettings indirection and no command-allowlist check at all (the\n`download_manager` path at least validates `cmd[0]` against\n`settings.DOWNLOAD_MANAGERS_ALLOWED`; this one doesn't check anything).\n\n## Affected code\n\nCommit: `bd52d1641a819b5054d384be7a4a9cba42e16781` (master; no version tags)\n\n`pages/views.py`, `navigate_directory`, `@login_required` (any authenticated\nuser, not just admin):\n\n```python\nform = AddURL(request.POST)\nurl_name = request.POST.get('add_url', '')\nif (form.is_valid() or url_name.startswith('md:') or url_name.startswith('note:')):\n    dbxs.add_new_url(usr, request, directory, row)\n```\n\n`AddURL.add_url` is `forms.URLField`. Verified against Django 4.2.8 (the\nversion pinned in `requirements.txt`) that this validator accepts payloads\nsuch as `http://example.com/&amp;ver&gt;C:\\out.txt` \u2014 `&amp;`/`&gt;` are valid URI\ncharacters, so `URLField` is not a usable control here.\n\n`pages/dbaccess.py`, `convert_html_pdf_with_chromium`:\n\n```python\ncmd = [\n    settings.CHROMIUM_COMMAND, '--headless', '--disable-gpu',\n    '--print-to-pdf={}'.format(pdf), url_name\n]\n...\nif os.name == 'posix':\n    output = subprocess.check_output(cmd)\nelse:\n    output = subprocess.check_output(cmd, shell=True)\n```\n\nSame pattern repeats for the `--dump-dom` branch a few lines down. On Windows,\n`subprocess.check_output(list, shell=True)` runs the list through\n`list2cmdline()` then `cmd.exe /c`; shell metacharacters in an unquoted\nargument (no literal space, so `list2cmdline` doesn't wrap it in quotes) are\ninterpreted by `cmd.exe`, not neutralized.\n\n## Proof of Concept\n\n```python\nimport subprocess, os\nmarker = r\"C:\\Users\\test\\marker.txt\"\npayload_url = f'http://example.com/&amp;ver&gt;{marker}'\ncmd = [\"chromium.exe\", \"--headless\", \"--disable-gpu\", \"--dump-dom\", payload_url]\nsubprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)\n```\n\nRun on Windows 10/11: the `ver` command executes as a second, injected\ncommand. `marker.txt` is created containing the real Windows version string\n(`Microsoft Windows [Version 10.0.26200.9711]`), confirming command execution\nindependent of whether `chromium.exe` itself exists.\n\nSteps against a live instance:\n1. Log in as any user.\n2. Navigate to a directory, submit `add_url = http://example.com/&amp;ver&gt;C:\\marker.txt`.\n3. Trigger PDF/DOM archiving for that bookmark on a Windows deployment.\n4. `marker.txt` is created by the server process.\n\n## Impact\n\nAuthenticated remote command execution, Windows deployments, server-process\nprivileges. No admin/moderator role required \u2014 reachable through the standard\nbookmark-adding flow available to any registered user.\n\n## Report issue\n\nhttps://github.com/kanishka-linux/reminiscence/issues/81 \u2014 a prior researcher\nrequested a security contact in 2022; no response as of this writing. No\nSECURITY.md, GitHub private vulnerability reporting disabled.\n\n## Credit\n\nKim Hoehyeon (@hoehyeonlab)\n", "url": "https://gist.github.com/hoehyeonlab/3c7159db2556c415ad9ac6ea1202347c"}], "metrics": {"as_of": "2026-11-19T14:48:45.266Z", "anchors": {"origin": {"timestamp": "2026-06-15T00:00:00Z", "date_only": false, "value": "2026-06-15T00:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-50871", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2026-06-15T00:00:00Z", "date_only": false, "value": "2026-06-15T00:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-50871", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "exploit_publication": null, "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": false, "missing": ["end"]}, "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": 13618125.266379, "hours": 3782.812573994167, "days": 157.6171905830903, "min_seconds": 13531725.266379, "max_seconds": 13618125.266379, "approximate": true, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-06-15T00:00:00Z", "date_only": false, "value": "2026-06-15T00:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-50871", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-19T14:48:45.266Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": false, "missing": ["start"]}}}
