<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 11 Nov 2026 01:44:14 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-125119</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-125119</link>
      <description>&lt;p&gt;Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. An application that enables sanitizeFilter through mongoose.connect() or createConnection() and passes an attacker-controlled object into a query filter therefore receives a connection that reports the defense as enabled while query selector objects remain unsanitized. A crafted password value using a query operator can match an account record without the expected literal password, while global configuration through mongoose.set(&amp;#39;sanitizeFilter&amp;#39;) and per-query Model.find().sanitizeFilter() remain unaffected. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. An application that enables sanitizeFilter through mongoose.connect() or createConnection() and passes an attacker-controlled object into a query filter therefore receives a connection that reports the defense as enabled while query selector objects remain unsanitized. A crafted password value using a query operator can match an account record without the expected literal password, while global configuration through mongoose.set(&amp;#39;sanitizeFilter&amp;#39;) and per-query Model.find().sanitizeFilter() remain unaffected. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-125119</guid>
    </item>
    <item>
      <title>GHSA-gg4r-jv3p-qx3c — Mongoose: Connection-level sanitizeFilter not applied</title>
      <link>https://db.gcve.eu/vuln/ghsa-gg4r-jv3p-qx3c</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: mongoose&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;sanitizeFilter exists to stop query selector injection: it wraps operator objects such as `{ $ne: null }` in filter values in `$eq`, so they are matched literally. Set on a connection with `mongoose.connect()` or `createConnection(uri, { sanitizeFilter: true })`, the connection reports it as enabled but queries never apply it. An application that relies on the connection-level option and passes an attacker-controlled object into a filter therefore remains open to selector injection, and a password value of `{ $ne: null }` returns the account record without the password.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`NativeConnection#createClient()` at `lib/drivers/node-mongodb-native/connection.js:270-272` moves `options.sanitizeFilter` into `Connection.config` and deletes the original option. `Query#_castConditions()` at `lib/query.js:2413-2423` checks `Connection.options`, the global `options`, and the per-query options, but never `Connection.config`. The defense therefore does not run even though `Connection#get(&amp;#39;sanitizeFilter&amp;#39;)` returns true. This storage was introduced in Mongoose 6.0.0 and the same mismatch is present in 9.11.2.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;```javascript
import mongoose from &amp;#39;mongoose&amp;#39;&lt;/p&gt;
&lt;p&gt;const conn = await mongoose.createConnection(&amp;#39;&amp;lt;MONGODB_URI&amp;gt;&amp;#39;, { sanitizeFilter: true }).asPromise()
const User = conn.model(&amp;#39;User&amp;#39;, new mongoose.Schema({
  username: String,
  password: String,
  marker: String
}))&lt;/p&gt;
&lt;p&gt;await User.create({
  username: &amp;#39;victim&amp;#39;,
  password: &amp;#39;correct-password&amp;#39;,
  ma…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: mongoose&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;sanitizeFilter exists to stop query selector injection: it wraps operator objects such as `{ $ne: null }` in filter values in `$eq`, so they are matched literally. Set on a connection with `mongoose.connect()` or `createConnection(uri, { sanitizeFilter: true })`, the connection reports it as enabled but queries never apply it. An application that relies on the connection-level option and passes an attacker-controlled object into a filter therefore remains open to selector injection, and a password value of `{ $ne: null }` returns the account record without the password.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`NativeConnection#createClient()` at `lib/drivers/node-mongodb-native/connection.js:270-272` moves `options.sanitizeFilter` into `Connection.config` and deletes the original option. `Query#_castConditions()` at `lib/query.js:2413-2423` checks `Connection.options`, the global `options`, and the per-query options, but never `Connection.config`. The defense therefore does not run even though `Connection#get(&amp;#39;sanitizeFilter&amp;#39;)` returns true. This storage was introduced in Mongoose 6.0.0 and the same mismatch is present in 9.11.2.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;```javascript
import mongoose from &amp;#39;mongoose&amp;#39;&lt;/p&gt;
&lt;p&gt;const conn = await mongoose.createConnection(&amp;#39;&amp;lt;MONGODB_URI&amp;gt;&amp;#39;, { sanitizeFilter: true }).asPromise()
const User = conn.model(&amp;#39;User&amp;#39;, new mongoose.Schema({
  username: String,
  password: String,
  marker: String
}))&lt;/p&gt;
&lt;p&gt;await User.create({
  username: &amp;#39;victim&amp;#39;,
  password: &amp;#39;correct-password&amp;#39;,
  ma…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-gg4r-jv3p-qx3c</guid>
    </item>
  </channel>
</rss>
