---
title: "Kaeso 0.7.4: a bounded tool schema merge and no wait on every reply"
description: "Kaeso 0.7.4 is out. It fixes a low-severity security issue, where one crafted tool schema could keep the gateway's CPU busy, and it takes back a small wait that 0.7.3 added to every reply in organizations without sources. Here is what changed and how to update."
url: https://kaeso.app/articles/kaeso-0-7-4
markdown: https://kaeso.app/articles/kaeso-0-7-4.md
language: en
alternates:
  de: https://kaeso.app/de/articles/kaeso-0-7-4.md
  zh-CN: https://kaeso.app/zh-CN/articles/kaeso-0-7-4.md
published: 2026-11-26
authors:
  - Kaeso Team
tags:
  - release
  - security
  - performance
image: https://kaeso.app/articles/kaeso-0-7-4/cover.jpg
index: https://kaeso.app/llms.txt
---

# Kaeso 0.7.4: a bounded tool schema merge and no wait on every reply

Kaeso 0.7.4 is out. It fixes a low-severity security issue, where one crafted tool schema could keep the gateway's CPU busy, and it takes back a small wait that 0.7.3 added to every reply in organizations without sources. Here is what changed and how to update.

> Every page, article and docs page of Kaeso is listed in https://kaeso.app/llms.txt.

- Published: 26 November 2026
- Reading time: 2 min
- Author: Kaeso Team

Kaeso is the open-source AI gateway you run yourself: one address for your apps' model requests, with one set of keys, limits, logs and costs. Kaeso 0.7.4 is a small release with two fixes, one for security and one for speed.

Both are in the gateway. Nothing else changes: no setting, no database migration, no default.

## A tool schema merge with a limit

Some providers want a tool's input schema as one object, while apps may describe it as a union of several shapes, each pointing at shared definitions with `$ref`. Kaeso merges such a union into one object before it sends the tool on.

Until 0.7.3, that merge expanded a definition again at every reference to it. A schema whose definitions refer to each other several times over grows exponentially that way, so one crafted tool from any valid API key could keep the gateway's CPU busy before any provider was called. The severity is low: it takes a key the gateway accepts, and it costs only CPU.

In 0.7.4, the merge expands each definition once, and it stops after 4,096 schemas, counting every reference it follows. A tool past that limit is refused as unsupported, in the app's own error format, before anything is sent. Real tools stay far below it. [Format translation](https://docs.kaeso.app/concepts/format-translation) lists the new refusal.

## No wait on every reply

0.7.3 began to count a request once when a client both sends it through the gateway and reports it to a [source](https://kaeso.app/articles/monitor-ai-usage-without-a-proxy). For that, the gateway notes each request before the reply goes out.

In an organization without sources, that note did nothing but read a cached answer, yet every reply still waited for a background task to read it. A request of an organization known to have no source, or a successful one without usage, now starts no task at all. Organizations with sources, or not known yet, behave as in 0.7.3, so requests reported by sources still count once.

The benchmark of 0.7.3 against 0.7.2 on one machine showed the median Kaeso adds a little higher at one and four clients; this wait is why. A new run with every 0.7 release side by side on one machine will follow on [kaeso.app/benchmarks](https://kaeso.app/benchmarks).

## Updating from 0.7.3

Most installs update with one click from **Instance** › **Updates**: the updater verifies the signed release and checks your settings with the new gateway before it stops the old one. 0.7.4 has no database migration and refuses no setting that 0.7.3 accepts. With the installer, run `sh install.sh --update`; on Kubernetes, `helm upgrade` with `--version 0.7.4`. [How Kaeso updates itself and checks your settings](https://kaeso.app/articles/updates-and-config-check) explains the updater.

Coming from 0.7.2 or earlier? [Kaeso 0.7.3](https://kaeso.app/articles/kaeso-0-7-3) sends Anthropic apps' requests to twelve providers' own Messages APIs and changes one default. The [full changelog](https://kaeso.app/changelog/0.7.4) lists every change in 0.7.4.

By Kaeso Team

## More articles

- [Kaeso 0.7.3: Claude Code on DeepSeek, Kimi and Qwen without translation](https://kaeso.app/articles/kaeso-0-7-3.md): Kaeso 0.7.3 is out. Anthropic apps such as Claude Code now reach twelve providers' own Messages APIs as they are, ChatGPT plan replies stop at the app's output limit, and spent plans, busy limits and observed requests are handled with more care. Here is what changed and how to update.
- [Kaeso 0.7.2: a faster console, lighter streams and security fixes](https://kaeso.app/articles/kaeso-0-7-2.md): Kaeso 0.7.2 is out. Console pages load their data before you click, big tables and the model picker do far less work, open streams take about a third less gateway memory, and fixes land for guardrails, limits, shared links, single sign-on and the updater. Here is what changed and how to update.

[See all articles](https://kaeso.app/articles.md)

## Own the gateway. Own the record

```bash
curl -fsSL https://kaeso.app/install.sh | sh
```

[Install Kaeso](https://docs.kaeso.app/self-hosting/installation) · [Open the live demo](https://demo.kaeso.app)
