<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Pip-Audit | FirewallSync</title><link>https://firewallsync.com/tags/pip-audit/</link><description>Practical cybersecurity writing for engineering teams that ship fast.</description><language>en-us</language><image><url>https://firewallsync.com/icon-512.png</url><title>FirewallSync</title><link>https://firewallsync.com/</link></image><lastBuildDate>Fri, 04 Dec 2026 04:30:00 +0000</lastBuildDate><atom:link href="https://firewallsync.com/tags/pip-audit/index.xml" rel="self" type="application/rss+xml"/><item><title>PYSEC vs GHSA vs CVE: Dedupe pip-audit Before KEV and EPSS</title><link>https://firewallsync.com/posts/pysec-vs-ghsa-vs-cve-dedupe-pip-audit-before-kev-epss/</link><guid>https://firewallsync.com/posts/pysec-vs-ghsa-vs-cve-dedupe-pip-audit-before-kev-epss/</guid><pubDate>Fri, 04 Dec 2026 04:30:00 +0000</pubDate><dc:creator>Craig Leslie</dc:creator><category>Security Operations</category><description>One PyPI vulnerability can carry a PYSEC ID, a GHSA ID and a CVE ID. pip-audit 2.10.1 printed 58 rows for 33 distinct vulnerabilities in langflow 1.2.0. This guide shows how the three IDs relate, why the duplicates appear, and a tested script that collapses them before the KEV and EPSS join.</description><enclosure url="https://firewallsync.com/posts/pysec-vs-ghsa-vs-cve-dedupe-pip-audit-before-kev-epss/cover_hu7858856609729277200.jpg" type="image/jpeg" length="0"/><media:content url="https://firewallsync.com/posts/pysec-vs-ghsa-vs-cve-dedupe-pip-audit-before-kev-epss/cover_hu7858856609729277200.jpg" medium="image" type="image/jpeg" width="1200" height="630"/><content:encoded><![CDATA[<p><img src="https://firewallsync.com/posts/pysec-vs-ghsa-vs-cve-dedupe-pip-audit-before-kev-epss/cover_hu7858856609729277200.jpg" alt="Dozens of bundled newspaper stacks tied with white string, piled in columns against a pale wall" width="1200" height="630"></p><p><strong>Short answer:</strong> PYSEC, GHSA and CVE are three identifiers from three different databases, and one PyPI vulnerability often carries all three. Scanners such as pip-audit report whichever ID they prefer, and in our test pip-audit 2.10.1 printed the same vulnerability twice under one PYSEC ID. Before you count findings, open tickets or join to <a href="/posts/cisa-kev-json-feed-what-each-field-means-and-how-to-match-it-against-a-scanner-export/">CISA KEV</a> and <a href="/posts/epss-data-feed-columns-percentile-vs-probability-and-how-to-join-it-to-a-scanner-export/">EPSS</a>, merge rows whose <code>id</code> and <code>aliases</code> overlap, then use the CVE in each merged cluster as the join key.</p>
<p>This is the Python counterpart to our <a href="/posts/ghsa-vs-cve-join-github-advisories-to-kev-and-epss/">GHSA vs CVE join guide</a>. The full patch-decision flow, from CVE record to ticket, is in the <a href="/posts/vulnerability-prioritization-workflow-cve-record-to-patch-ticket/">vulnerability prioritization workflow</a>.</p>
<h2 id="method">Method</h2>
<ul>
<li><strong>PyPA Advisory Database</strong> at commit <code>6c98d1c</code> (2 December 2026): every <code>vulns/*/*.yaml</code> file, parsed with PyYAML.</li>
<li><strong>GitHub Advisory Database</strong>, <code>advisories/github-reviewed</code> at commit <code>bf333b9</code> (4 December 2026): every OSV JSON file with at least one <code>affected[].package.ecosystem</code> equal to <code>PyPI</code>.</li>
<li><strong>CISA KEV</strong> catalog version 2026.11.30 (1,810 entries) from <code>cisagov/kev-data</code>.</li>
<li><strong>FIRST EPSS</strong> daily file for 2026-12-03 (model <code>v2026.06.15</code>) from <code>empiricalsec/epss_scores</code>.</li>
<li><strong>pip-audit 2.10.1</strong> (the latest release on PyPI on 4 December 2026), run with <code>-r requirements.txt --no-deps --disable-pip -f json</code> against pinned versions, using the default PyPI vulnerability service.</li>
</ul>
<p>Records with a <code>withdrawn</code> timestamp are excluded. We merged records into clusters when any ID or alias was shared (a union-find over <code>id</code> and <code>aliases</code>). All counts below were computed with Python from those files.</p>
<h2 id="three-ids-three-owners">Three IDs, three owners</h2>
<table>
  <thead>
      <tr>
          <th>ID</th>
          <th>Example</th>
          <th>Issued by</th>
          <th>Format</th>
          <th>What it covers</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>PYSEC</td>
          <td><code>PYSEC-2025-36</code></td>
          <td><a href="https://github.com/pypa/advisory-database">Python Packaging Advisory Database</a></td>
          <td>OSV, stored as YAML</td>
          <td>Packages on PyPI only, one record per affected package</td>
      </tr>
      <tr>
          <td>GHSA</td>
          <td><code>GHSA-rvqx-wpfh-mfx7</code></td>
          <td><a href="https://github.com/github/advisory-database">GitHub Advisory Database</a></td>
          <td>OSV JSON</td>
          <td>Many ecosystems; one record can list several packages</td>
      </tr>
      <tr>
          <td>CVE</td>
          <td><code>CVE-2025-3248</code></td>
          <td>CVE Program CNAs</td>
          <td>CVE JSON 5</td>
          <td>Any product; the only key KEV and EPSS use</td>
      </tr>
  </tbody>
</table>
<p>The PyPA README says much of its data is &ldquo;collected from the NVD CVE feed&rdquo; using a tool that &ldquo;performs a lot of heuristics to match CVEs with exact Python packages and versions&rdquo; plus &ldquo;a small amount of human triage&rdquo;. That explains why nearly every PYSEC record has a CVE alias.</p>
<p>Langflow&rsquo;s unauthenticated RCE shows how the IDs fan out. GitHub&rsquo;s advisory <code>GHSA-rvqx-wpfh-mfx7</code> lists two packages, <code>langflow</code> and <code>langflow-base</code>, with one alias, <code>CVE-2025-3248</code>. PyPA has a separate PYSEC record for each package: <code>PYSEC-2025-36</code> for <code>langflow</code> (aliases: the CVE only) and <code>PYSEC-2026-380</code> for <code>langflow-base</code> (aliases: the CVE and the GHSA). One vulnerability, four IDs.</p>
<h2 id="what-the-two-databases-contain">What the two databases contain</h2>
<table>
  <thead>
      <tr>
          <th>Measure</th>
          <th>PyPA (PYSEC)</th>
          <th>GitHub-reviewed (PyPI GHSA)</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Records</td>
          <td>7,943</td>
          <td>6,979</td>
      </tr>
      <tr>
          <td>Withdrawn</td>
          <td>272</td>
          <td>265</td>
      </tr>
      <tr>
          <td>Live</td>
          <td>7,671</td>
          <td>6,714</td>
      </tr>
      <tr>
          <td>Live with a CVE alias</td>
          <td>7,601</td>
          <td>6,316</td>
      </tr>
      <tr>
          <td>Live with a GHSA alias</td>
          <td>7,213</td>
          <td>n/a</td>
      </tr>
      <tr>
          <td>Live with no CVE</td>
          <td>70</td>
          <td>398</td>
      </tr>
  </tbody>
</table>
<p>Two points matter for joins:</p>
<ol>
<li><strong>GitHub&rsquo;s raw files alias only CVEs.</strong> None of the 6,714 live PyPI GHSA files lists a PYSEC ID in <code>aliases</code>. The link from PYSEC to GHSA lives on the PyPA side.</li>
<li><strong>PYSEC is per package.</strong> 608 PyPI GHSAs are aliased by more than one PYSEC record, typically because a project publishes several packages (a main package plus a <code>-base</code> or plugin package).</li>
</ol>
<p>Merging all 14,385 live records on shared IDs gives <strong>7,208 distinct vulnerability clusters</strong>:</p>
<table>
  <thead>
      <tr>
          <th>Cluster contains</th>
          <th>Clusters</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>PYSEC + GHSA + CVE</td>
          <td>6,011</td>
      </tr>
      <tr>
          <td>PYSEC + CVE, no GHSA</td>
          <td>427</td>
      </tr>
      <tr>
          <td>GHSA only (no PYSEC, no CVE)</td>
          <td>361</td>
      </tr>
      <tr>
          <td>GHSA + CVE, no PYSEC</td>
          <td>340</td>
      </tr>
      <tr>
          <td>PYSEC only (no GHSA, no CVE)</td>
          <td>68</td>
      </tr>
      <tr>
          <td>PYSEC + GHSA, no CVE</td>
          <td>1</td>
      </tr>
      <tr>
          <td><strong>Total</strong></td>
          <td><strong>7,208</strong></td>
      </tr>
  </tbody>
</table>
<p>So counting raw records nearly doubles the real number, and neither database is a superset of the other: 495 clusters appear only in PyPA data and 701 only in GitHub data.</p>
<h2 id="where-pip-audits-duplicates-come-from">Where pip-audit&rsquo;s duplicates come from</h2>
<p>pip-audit queries PyPI&rsquo;s JSON API by default (<code>-s pypi</code>). <a href="https://docs.pypi.org/api/json/">PyPI&rsquo;s JSON API documentation</a> shows a <code>vulnerabilities</code> array whose example entries have <code>&quot;source&quot;: &quot;osv&quot;</code> and link to osv.dev. On 4 December 2026, <code>https://pypi.org/pypi/langflow/1.2.0/json</code> returned both <code>PYSEC-2025-36</code> and <code>GHSA-rvqx-wpfh-mfx7</code>, and the GHSA entry&rsquo;s aliases were <code>CVE-2025-3248</code>, <code>PYSEC-2025-36</code> and <code>PYSEC-2026-380</code>. That alias list is richer than GitHub&rsquo;s raw file, which lists only the CVE.</p>
<p>Reading pip-audit 2.10.1&rsquo;s source explains what happens next:</p>
<ul>
<li><code>VulnerabilityResult.create()</code> sorts each result&rsquo;s IDs so that <strong>PYSEC comes first, then CVE, then everything else</strong>, and uses the first one as the primary <code>id</code>. The GHSA entry therefore becomes a result whose primary ID is <code>PYSEC-2025-36</code>.</li>
<li>The dedupe loop in <code>_audit.py</code> makes a <strong>first pass that adds every result whose ID starts with <code>PYSEC</code></strong>, without checking aliases. Only the second pass, for non-PYSEC results, merges on overlapping aliases.</li>
</ul>
<p>Both results now start with <code>PYSEC</code>, so both are kept. The run confirmed it:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>$ pip-audit -r requirements.txt --no-deps --disable-pip
</span></span><span style="display:flex;"><span>Found 58 known vulnerabilities in 1 package
</span></span><span style="display:flex;"><span>Name     Version ID                  Fix Versions
</span></span><span style="display:flex;"><span>-------- ------- ------------------- ------------
</span></span><span style="display:flex;"><span>langflow 1.2.0   PYSEC-2025-36       1.3.0
</span></span><span style="display:flex;"><span>langflow 1.2.0   PYSEC-2025-36       1.3.0
</span></span><span style="display:flex;"><span>langflow 1.2.0   PYSEC-2025-243      1.5.1
</span></span><span style="display:flex;"><span>...
</span></span></code></pre></div><table>
  <thead>
      <tr>
          <th>Package (pinned)</th>
          <th>pip-audit rows</th>
          <th>Distinct vulnerabilities after merge</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>langflow 1.2.0</td>
          <td>58</td>
          <td>33</td>
      </tr>
      <tr>
          <td>mlflow 2.10.0</td>
          <td>95</td>
          <td>49</td>
      </tr>
      <tr>
          <td>litellm 1.60.0</td>
          <td>34</td>
          <td>24</td>
      </tr>
      <tr>
          <td>starlette 0.40.0</td>
          <td>14</td>
          <td>7</td>
      </tr>
  </tbody>
</table>
<p>For langflow, 25 PYSEC IDs appeared twice, and one GHSA-only row (<code>GHSA-j8f7-x8jm-wmm4</code>) had no CVE. We could not test the <code>-s osv</code> service because <code>api.osv.dev</code> was not reachable from our environment, so we make no claim about its output. We found no open pip-audit issue about this on 4 December 2026; if you rely on pip-audit&rsquo;s count as a metric, check it against a merged count.</p>
<h2 id="the-dedupe-then-join-script">The dedupe-then-join script</h2>
<p>This script reads pip-audit JSON (which includes <code>aliases</code> by default for the JSON format), merges rows into clusters, and joins KEV and EPSS on the CVE IDs in each cluster. It uses only the Python standard library. We ran it with Python 3.13 on the outputs above.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span><span style="color:#e6db74">&#34;&#34;&#34;Collapse pip-audit JSON rows into one finding per vulnerability, then join KEV and EPSS.
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74">Usage: python3 dedupe_pip_audit.py audit.json known_exploited_vulnerabilities.json epss_scores-YYYY-MM-DD.csv.gz
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74">&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> csv<span style="color:#f92672">,</span> gzip<span style="color:#f92672">,</span> json<span style="color:#f92672">,</span> sys
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>audit, kev_path, epss_path <span style="color:#f92672">=</span> sys<span style="color:#f92672">.</span>argv[<span style="color:#ae81ff">1</span>:<span style="color:#ae81ff">4</span>]
</span></span><span style="display:flex;"><span>kev <span style="color:#f92672">=</span> {v[<span style="color:#e6db74">&#34;cveID&#34;</span>]: v <span style="color:#66d9ef">for</span> v <span style="color:#f92672">in</span> json<span style="color:#f92672">.</span>load(open(kev_path))[<span style="color:#e6db74">&#34;vulnerabilities&#34;</span>]}
</span></span><span style="display:flex;"><span>epss <span style="color:#f92672">=</span> {}
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">with</span> gzip<span style="color:#f92672">.</span>open(epss_path, <span style="color:#e6db74">&#34;rt&#34;</span>) <span style="color:#66d9ef">as</span> fh:
</span></span><span style="display:flex;"><span>    next(fh)  <span style="color:#75715e"># &#39;#model_version:...,score_date:...&#39; comment line</span>
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> row <span style="color:#f92672">in</span> csv<span style="color:#f92672">.</span>DictReader(fh):
</span></span><span style="display:flex;"><span>        epss[row[<span style="color:#e6db74">&#34;cve&#34;</span>]] <span style="color:#f92672">=</span> float(row[<span style="color:#e6db74">&#34;epss&#34;</span>])
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">for</span> dep <span style="color:#f92672">in</span> json<span style="color:#f92672">.</span>load(open(audit))[<span style="color:#e6db74">&#34;dependencies&#34;</span>]:
</span></span><span style="display:flex;"><span>    clusters <span style="color:#f92672">=</span> []  <span style="color:#75715e"># each cluster is a set of IDs (PYSEC, GHSA, CVE, ...)</span>
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> v <span style="color:#f92672">in</span> dep<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;vulns&#34;</span>, []):
</span></span><span style="display:flex;"><span>        ids <span style="color:#f92672">=</span> {v[<span style="color:#e6db74">&#34;id&#34;</span>], <span style="color:#f92672">*</span>v[<span style="color:#e6db74">&#34;aliases&#34;</span>]}
</span></span><span style="display:flex;"><span>        hits <span style="color:#f92672">=</span> [c <span style="color:#66d9ef">for</span> c <span style="color:#f92672">in</span> clusters <span style="color:#66d9ef">if</span> c <span style="color:#f92672">&amp;</span> ids]
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">for</span> c <span style="color:#f92672">in</span> hits:
</span></span><span style="display:flex;"><span>            ids <span style="color:#f92672">|=</span> c
</span></span><span style="display:flex;"><span>            clusters<span style="color:#f92672">.</span>remove(c)
</span></span><span style="display:flex;"><span>        clusters<span style="color:#f92672">.</span>append(ids)
</span></span><span style="display:flex;"><span>    print(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#39;</span><span style="color:#e6db74">{</span>dep[<span style="color:#e6db74">&#34;name&#34;</span>]<span style="color:#e6db74">}</span><span style="color:#e6db74"> </span><span style="color:#e6db74">{</span>dep[<span style="color:#e6db74">&#34;version&#34;</span>]<span style="color:#e6db74">}</span><span style="color:#e6db74">: </span><span style="color:#e6db74">{</span>len(dep<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;vulns&#34;</span>, []))<span style="color:#e6db74">}</span><span style="color:#e6db74"> rows -&gt; </span><span style="color:#e6db74">{</span>len(clusters)<span style="color:#e6db74">}</span><span style="color:#e6db74"> vulnerabilities&#39;</span>)
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> ids <span style="color:#f92672">in</span> sorted(clusters, key<span style="color:#f92672">=</span><span style="color:#66d9ef">lambda</span> c: <span style="color:#f92672">-</span>max((epss<span style="color:#f92672">.</span>get(i, <span style="color:#ae81ff">0</span>) <span style="color:#66d9ef">for</span> i <span style="color:#f92672">in</span> c), default<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span>)):
</span></span><span style="display:flex;"><span>        cves <span style="color:#f92672">=</span> sorted(i <span style="color:#66d9ef">for</span> i <span style="color:#f92672">in</span> ids <span style="color:#66d9ef">if</span> i<span style="color:#f92672">.</span>startswith(<span style="color:#e6db74">&#34;CVE-&#34;</span>))
</span></span><span style="display:flex;"><span>        in_kev <span style="color:#f92672">=</span> [c <span style="color:#66d9ef">for</span> c <span style="color:#f92672">in</span> cves <span style="color:#66d9ef">if</span> c <span style="color:#f92672">in</span> kev]
</span></span><span style="display:flex;"><span>        score <span style="color:#f92672">=</span> max((epss<span style="color:#f92672">.</span>get(c, <span style="color:#ae81ff">0.0</span>) <span style="color:#66d9ef">for</span> c <span style="color:#f92672">in</span> cves), default<span style="color:#f92672">=</span><span style="color:#66d9ef">None</span>)
</span></span><span style="display:flex;"><span>        key <span style="color:#f92672">=</span> cves[<span style="color:#ae81ff">0</span>] <span style="color:#66d9ef">if</span> cves <span style="color:#66d9ef">else</span> sorted(ids)[<span style="color:#ae81ff">0</span>]
</span></span><span style="display:flex;"><span>        print(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#39;  </span><span style="color:#e6db74">{</span>key<span style="color:#e6db74">:</span><span style="color:#e6db74">18</span><span style="color:#e6db74">}</span><span style="color:#e6db74"> kev=</span><span style="color:#e6db74">{</span><span style="color:#e6db74">&#34;yes&#34;</span> <span style="color:#66d9ef">if</span> in_kev <span style="color:#66d9ef">else</span> <span style="color:#e6db74">&#34;no &#34;</span><span style="color:#e6db74">:</span><span style="color:#e6db74">3</span><span style="color:#e6db74">}</span><span style="color:#e6db74"> epss=</span><span style="color:#e6db74">{</span>score <span style="color:#66d9ef">if</span> score <span style="color:#f92672">is</span> <span style="color:#f92672">not</span> <span style="color:#66d9ef">None</span> <span style="color:#66d9ef">else</span> <span style="color:#e6db74">&#34;n/a (no CVE)&#34;</span><span style="color:#e6db74">}</span><span style="color:#e6db74"> ids=</span><span style="color:#e6db74">{</span><span style="color:#e6db74">&#34;,&#34;</span><span style="color:#f92672">.</span>join(sorted(ids <span style="color:#f92672">-</span> {key}))<span style="color:#e6db74">}</span><span style="color:#e6db74">&#39;</span>)
</span></span></code></pre></div><p>Output for langflow 1.2.0 (first lines):</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>langflow 1.2.0: 58 rows -&gt; 33 vulnerabilities
</span></span><span style="display:flex;"><span>  CVE-2025-3248      kev=yes epss=0.99992 ids=GHSA-rvqx-wpfh-mfx7,PYSEC-2025-36,PYSEC-2026-380
</span></span><span style="display:flex;"><span>  CVE-2026-33017     kev=yes epss=0.96814 ids=GHSA-vwmf-pq79-vjvx,PYSEC-2026-379
</span></span><span style="display:flex;"><span>  CVE-2025-34291     kev=yes epss=0.93656 ids=GHSA-577h-p2hh-v4mv,PYSEC-2025-78
</span></span><span style="display:flex;"><span>  CVE-2026-55255     kev=yes epss=0.69162 ids=GHSA-qrpv-q767-xqq2,PYSEC-2026-221
</span></span><span style="display:flex;"><span>  CVE-2026-0770      kev=yes epss=0.62562 ids=GHSA-g22f-v6f7-2hrh,PYSEC-2026-1525
</span></span></code></pre></div><p>Five of the 33 langflow 1.2.0 vulnerabilities are in KEV. Without the merge, each of those would appear as two tickets under the same PYSEC ID.</p>
<h2 id="kev-and-epss-coverage-for-pypi">KEV and EPSS coverage for PyPI</h2>
<p>Across both databases there are 6,781 distinct CVE IDs attached to live PyPI advisories:</p>
<ul>
<li><strong>6,745</strong> have a score in the 2026-12-03 EPSS file; 192 score 0.1 or higher.</li>
<li><strong>24</strong> are in KEV catalog 2026.11.30. They include Langflow, LiteLLM, MLflow, Apache Airflow, Superset and Spark, Salt, Starlette, Ray and Marimo.</li>
<li><strong>22</strong> of those 24 appear in both PyPA and GitHub data. <code>CVE-2026-102895</code> (GPUStack) had only a GHSA record and <code>CVE-2026-133968</code> (MONAI Label) had only a PYSEC record in our snapshot.</li>
<li><strong>430</strong> clusters have no CVE at all, so KEV and EPSS return nothing for them. Treat those with the approach in our <a href="/posts/ghsa-without-cve-triage-no-cve-github-advisories/">GHSA without a CVE</a> guide.</li>
</ul>
<h2 id="common-mistakes">Common mistakes</h2>
<ul>
<li><strong>Counting rows as vulnerabilities.</strong> pip-audit row counts, and naive unions of PyPA and GitHub data, overstate the real number. Merge first.</li>
<li><strong>Keying tickets on whatever ID the scanner printed.</strong> pip-audit prefers PYSEC; Dependabot shows GHSA; your SBOM tool may show CVE. Store all aliases on the ticket and match new findings on any of them.</li>
<li><strong>Joining KEV on PYSEC or GHSA.</strong> KEV&rsquo;s <code>cveID</code> and EPSS&rsquo;s <code>cve</code> columns hold only CVE IDs. Pull the CVE out of the merged cluster.</li>
<li><strong>Reading only one database.</strong> Each has PyPI vulnerabilities the other lacks, including two KEV-listed CVEs in this snapshot.</li>
</ul>
<h2 id="limits-of-this-article">Limits of this article</h2>
<ul>
<li>Counts are a snapshot of PyPA commit <code>6c98d1c</code> and GitHub commit <code>bf333b9</code>; both databases change daily.</li>
<li>Three clusters contain two CVE IDs (for example, a CVE and a later duplicate CVE). The script keeps every CVE in the cluster and uses the highest EPSS score, which is a conservative choice, not a ruling on which CVE is correct.</li>
<li>The pip-audit duplicate behaviour was observed with version 2.10.1 and the PyPI service only. A future pip-audit release, or a change to the aliases PyPI serves, could change it.</li>
<li>The script is a minimal example. It does not handle <code>--fix</code> output, multiple requirement files or VEX suppression.</li>
</ul>
<h2 id="sources-and-verification">Sources and verification</h2>
<table>
  <thead>
      <tr>
          <th>Important claim</th>
          <th>Source</th>
          <th>Status</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>PyPA advisories are OSV-format YAML, mostly collected from NVD CVE data with heuristics and human triage</td>
          <td><a href="https://github.com/pypa/advisory-database">pypa/advisory-database README</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>Record, withdrawn, alias and cluster counts</td>
          <td><a href="https://github.com/pypa/advisory-database">pypa/advisory-database</a> at <code>6c98d1c</code>; <a href="https://github.com/github/advisory-database">github/advisory-database</a> at <code>bf333b9</code>; computed</td>
          <td>Verified (snapshot)</td>
      </tr>
      <tr>
          <td>PyPI&rsquo;s JSON API returns a <code>vulnerabilities</code> array with OSV-sourced entries and a <code>withdrawn</code> timestamp</td>
          <td><a href="https://docs.pypi.org/api/json/">PyPI JSON API docs</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>pip-audit defaults to the PyPI service, sorts PYSEC then CVE first, and adds all PYSEC results in a first pass</td>
          <td><a href="https://pypi.org/p/pip-audit">pip-audit</a> 2.10.1 source (<code>_cli.py</code>, <code>_service/interface.py</code>, <code>_audit.py</code>)</td>
          <td>Verified (source read)</td>
      </tr>
      <tr>
          <td>langflow 1.2.0: 58 rows, 33 distinct vulnerabilities, 25 duplicated PYSEC IDs</td>
          <td>pip-audit 2.10.1 run, 4 December 2026</td>
          <td>Verified (our run)</td>
      </tr>
      <tr>
          <td>24 PyPI CVEs in KEV; GPUStack and MONAI Label single-source</td>
          <td><a href="https://github.com/cisagov/kev-data">cisagov/kev-data</a> 2026.11.30 joined to both databases</td>
          <td>Verified (snapshot)</td>
      </tr>
      <tr>
          <td>EPSS coverage of PyPI CVEs</td>
          <td><a href="https://github.com/empiricalsec/epss_scores">empiricalsec/epss_scores</a> 2026-12-03 file</td>
          <td>Verified (snapshot)</td>
      </tr>
  </tbody>
</table>
]]></content:encoded></item></channel></rss>