<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T23:01:10.681278+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-hxpf-9xvq-wph8</id>
    <title>GHSA-hxpf-9xvq-wph8 — netlicensing-mcp: REST Path Traversal Bypasses Token Redaction</title>
    <updated>2026-10-05T23:01:14.260440+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: netlicensing-mcp</p>
<p>## REST Path Traversal Bypasses Token Redaction in netlicensing-mcp</p>
<p>### Summary</p>
<p>The `netlicensing_get_product` MCP tool in `netlicensing-mcp` interpolates a caller-controlled `product_number` argument directly into a REST URL path without any validation. Passing `../token` as the product number causes `httpx` to normalize `/product/../token` into `/token`, silently redirecting the request to the NetLicensing token endpoint instead of the intended product endpoint. The response is then serialized through the generic `_wrap_json` wrapper rather than the token-specific `_wrap_json_token_read` wrapper, bypassing all APIKEY `number` and SHOP `shopURL` redaction. An authenticated MCP client can recover plaintext API key values that the token read tools intentionally mask, including admin-level APIKEY credentials.</p>
<p>### Details</p>
<p>The vulnerability is a path traversal (CWE-22) that exploits the interaction between unsanitized string interpolation and `httpx`'s WHATWG URL normalization.</p>
<p>**Source — `src/netlicensing_mcp/tools/products.py:22`**</p>
<p>```python
async def get_product(product_number: str) -&gt; dict:
    """Get a single product by its number."""
    return strip_output_fields(await nl_get(f"/product/{product_number}"))
```</p>
<p>`product_number` is inserted directly into the REST path with no validation. A value of `../token` produces the path `/product/../token`.</p>
<p>**Sink — `src/netlicensing_mcp/client.py:143`**</p>
<p>```python
async def nl_get(path: str, params: dict[str, str] | None =…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-hxpf-9xvq-wph8"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-3489</id>
    <title>PYSEC-2026-3489 — netlicensing-mcp: REST Path Traversal Bypasses Token Redaction</title>
    <updated>2026-10-05T23:01:14.260690+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: netlicensing-mcp</p>
<p>## REST Path Traversal Bypasses Token Redaction in netlicensing-mcp</p>
<p>### Summary</p>
<p>The `netlicensing_get_product` MCP tool in `netlicensing-mcp` interpolates a caller-controlled `product_number` argument directly into a REST URL path without any validation. Passing `../token` as the product number causes `httpx` to normalize `/product/../token` into `/token`, silently redirecting the request to the NetLicensing token endpoint instead of the intended product endpoint. The response is then serialized through the generic `_wrap_json` wrapper rather than the token-specific `_wrap_json_token_read` wrapper, bypassing all APIKEY `number` and SHOP `shopURL` redaction. An authenticated MCP client can recover plaintext API key values that the token read tools intentionally mask, including admin-level APIKEY credentials.</p>
<p>### Details</p>
<p>The vulnerability is a path traversal (CWE-22) that exploits the interaction between unsanitized string interpolation and `httpx`'s WHATWG URL normalization.</p>
<p>**Source — `src/netlicensing_mcp/tools/products.py:22`**</p>
<p>```python
async def get_product(product_number: str) -&gt; dict:
    """Get a single product by its number."""
    return strip_output_fields(await nl_get(f"/product/{product_number}"))
```</p>
<p>`product_number` is inserted directly into the REST path with no validation. A value of `../token` produces the path `/product/../token`.</p>
<p>**Sink — `src/netlicensing_mcp/client.py:143`**</p>
<p>```python
async def nl_get(path: str, params: dict[str, str] | None =…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-3489"/>
  </entry>
</feed>
