<?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-12-04T08:28:38.733360+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/fkie_cve-2026-142608</id>
    <title>fkie_cve-2026-142608</title>
    <updated>2026-12-04T08:28:38.734933+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.3.5 until 6.13.13, Mongoose treats a plain object with an own _bsontype property as a BSON value, allowing forged ObjectID values to replay an identifier from a preceding database command when that command has a compatible layout and buffer offset, or to store and disclose other command-buffer fragments, while forged BSONRegExp values bypass String-path filtering. Applications that pass request-derived values into ObjectId or String queries and writes can consequently read, modify, or delete documents accessed by another request under the compatible-layout condition, store and disclose fragments such as reset codes or API keys without that identifier-replay condition, or execute unintended regular-expression matches even when sanitizeFilter or common MongoDB sanitizers are enabled. This issue is fixed in version 6.13.13.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-142608"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-rxm2-55pg-68q6</id>
    <title>GHSA-rxm2-55pg-68q6 — Mongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from oth…</title>
    <updated>2026-12-04T08:28:38.734992+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: mongoose</p>
<p>### Summary</p>
<p>From 6.3.5-6.13.12, Mongoose 6 decides whether a value is a BSON type by checking only its _bsontype property. A plain object such as {"_bsontype":"ObjectID","id":""} therefore passes the ObjectId cast. bson 4.x then writes no id bytes but still advances 12 bytes in its serialization buffer, so the value sent to MongoDB is whatever the previous command left at that offset. Request bodies, cookies and Express 4 query strings can all produce such an object. sanitizeFilter doesn’t catch it because it has no $ keys.</p>
<p>### Details</p>
<p>`lib/helpers/isBsonType.js` returned true for any object whose `_bsontype` matched. This led to three problems:</p>
<p>1. Queries by id replay another request’s id. findById(forged) sends the `_id` from the last command with the same layout, such as another request’s `findById` on the same collection. Likewise, `findByIdAndDelete(forged)` and `findByIdAndUpdate(forged)` act on the document another request just modified with `findOneAndUpdate`. This works with `sanitizeFilter` on.
2. Stored ObjectIds leak command bytes. `create()`, `$set` and other writes store 12 bytes of earlier commands, such as filter values and updated fields. Anyone who can read the document can read those bytes. This happens in the default configuration.
3. Forged regexes on String paths. `{"_bsontype":"BSONRegExp","pattern":"^a","options":""}` passes the String query cast and is sent as a regular expression, bypassing sanitizeFilter.</p>
<p>`mongoose.isObjectIdOrHexString()` als…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-rxm2-55pg-68q6"/>
  </entry>
</feed>
