<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T09:17:57.713584+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-74881</id>
    <title>CVE-2026-74881 — openssl_encrypt before 1.4.0 CORS Misconfiguration via Wildcard Origins</title>
    <updated>2026-10-01T09:17:57.723540+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> jahlives openssl_encrypt</p>
<p>openssl_encrypt versions before 1.4.0 configure CORS with allow_origins set to wildcard and allow_credentials enabled to true. Attackers can create malicious websites that make authenticated cross-origin requests to the API on behalf of any user who visits them.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-74881"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-c65f-x25w-62jv</id>
    <title>GHSA-c65f-x25w-62jv — openssl-encrypt has CORS wildcard with allow_credentials=True in standalone servers</title>
    <updated>2026-10-01T09:17:57.723603+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: openssl-encrypt</p>
<p>### Summary</p>
<p>Both standalone servers configure CORS with `allow_origins=["*"]`, `allow_credentials=True`, `allow_methods=["*"]`, and `allow_headers=["*"]`.</p>
<p>### Affected Code</p>
<p>```python
# server/key-server/app/main.py:86-92
# server/telemetry-server/app/main.py:23-29
app.add_middleware(
    CORSMiddleware,
    allow_origins=settings.cors_origins,  # defaults to ["*"]
    allow_credentials=True,
    allow_methods=["*"],
    allow_headers=["*"],
)
```</p>
<p>The docker-compose file (`openssl_encrypt_server/docker-compose.yml:75`) also defaults `CORS_ORIGINS` to `*`, and `.env.example` ships with `CORS_ORIGINS=*`.</p>
<p>### Impact</p>
<p>This is the most permissive CORS configuration possible, allowing any website to make fully credentialed cross-origin requests to the API. An attacker's website could make authenticated API calls on behalf of any user who visits it.</p>
<p>### Recommended Fix</p>
<p>- Remove wildcard defaults — require explicit origin configuration
- Never combine `allow_origins=["*"]` with `allow_credentials=True`
- Update `.env.example` with placeholder domains instead of `*`</p>
<p>### Fix</p>
<p>Fixed in commit `809416b` on branch `releases/1.4.x` — changed CORS default from ["*"] to [] in both key-server and telemetry-server; added validation rejecting wildcard when debug=False.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-c65f-x25w-62jv"/>
  </entry>
</feed>
