<?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-01T20:57:34.780772+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/bdu:2026-10981</id>
    <title>bdu:2026-10981</title>
    <updated>2026-10-01T20:57:34.823712+00:00</updated>
    <content>bdu:2026-10981</content>
    <link href="https://vulnerability.circl.lu/vuln/bdu:2026-10981"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-47668</id>
    <title>fkie_cve-2026-47668</title>
    <updated>2026-10-01T20:57:34.823778+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>DbGate is cross-platform database manager. In versions 7.1.8 and prior, DbGate's JSON script runner (`POST /runners/start`) allows remote code execution via code injection in the `functionName` parameter of JSON script `assign` commands. The `functionName` value is interpolated directly into dynamically generated JavaScript source code via string concatenation. The generated code is then executed in a forked Node.js child process. Version 7.1.9 contains a patch.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-47668"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-8v3q-9vmx-36vc</id>
    <title>GHSA-8v3q-9vmx-36vc — DbGate: Unauthenticated Remote Code Execution via JSON Script Runner</title>
    <updated>2026-10-01T20:57:34.823843+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: dbgate-serve</p>
<p>### Summary
DbGate's JSON script runner (`POST /runners/start`) allows remote code execution via code injection in the `functionName` parameter of JSON script `assign` commands. The `functionName` value is interpolated directly into dynamically generated JavaScript source code via string concatenation. The generated code is then executed in a forked Node.js child process.</p>
<p>### Details
#### Step 1: User Input Entry Point</p>
<p>**File:** `packages/api/src/controllers/runners.js` - `start()` method</p>
<p>The `/runners/start` endpoint accepts a POST body containing a `script` object. When `script.type == 'json'`, the request follows a different code path than raw shell scripts:</p>
<p>```javascript
async start({ script }, req) {
    if (script.type == 'json') {
        if (!platformInfo.isElectron) {
            if (!checkSecureDirectoriesInScript(script)) {
                return { errorMessage: 'Unallowed directories in script' };
            }
        }
        logJsonRunnerScript(req, script);
        const js = await jsonScriptToJavascript(script);
        return this.startCore(runid, scriptTemplate(js, false));
    }
```
This path skips:
1. The `run-shell-script` permission check
2. The `allowShellScripting` platform-level check</p>
<p>The only validation performed is `checkSecureDirectoriesInScript()`, which `props.fileName` values</p>
<p>---</p>
<p>#### Step 2: JSON-to-JavaScript Conversion (Injection Point)</p>
<p>**File:** `packages/tools/src/ScriptWriter.ts` - `assignCore()` method</p>
<p>The JSON script's `comma…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-8v3q-9vmx-36vc"/>
  </entry>
</feed>
