v4.1.11 Changelog
See what's new in Kener v4.1.11, including a security fix for monitor and trigger secrets readable with read-only access, v4 API writes that return 400 for a body the spec forbids, and dependency updates
Release date: November 2, 2026
Important
This release fixes a security issue in v4.0.0 to v4.1.10. Upgrade, then check whether you need to rotate the secrets stored in your monitors and triggers. See Security.
/api/v4 writes now return 400 for a request body that the API spec forbids. Before, some of these requests returned 500, and some stored a changed value. See API changes.
Security
Monitor and trigger secrets were readable with read-only access
| Field | Value |
|---|---|
| Affected versions | v4.0.0 to v4.1.10 |
| Fixed in | v4.1.11 |
| Severity | Medium, CVSS 3.1 score 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) |
| Weakness | CWE-522 (Insufficiently Protected Credentials) |
These read paths returned stored secrets in plain text:
- The REST API returned the full
type_dataof each monitor fromGET /api/v4/monitors,GET /api/v4/monitors/{tag}, and the response ofPATCH /api/v4/monitors/{tag}, to any valid API key. - The dashboard API (
POST /manage/api) returned the fulltype_dataof each monitor from thegetMonitorsaction. This action needs onlymonitors.read. - The dashboard API returned each trigger's URL and headers from the
getTriggersaction, which needs onlytriggers.read, and from the alert configuration actions, which need onlyalerts.read.
All three built-in roles have these read permissions, including Member. These values were readable:
- Each
headersvalue of an API or Prometheus monitor, such asAuthorization: Bearer .... - The request
bodyof an API monitor. - The
proxyURL, with its user name and password. - The
connectionStringof a SQL monitor. - The
secretStringof a heartbeat monitor. A user who knows it can send fake heartbeats. - The
tlsKeyof a Docker monitor. - The URL and each header value of a webhook, Slack, or Discord trigger. A Slack or Discord webhook URL lets anyone post to that channel.
Kener now shows each monitor value as ******** in the REST API, except in the POST /api/v4/monitors response, and in the dashboard. The dashboard shows a trigger URL as its origin plus /********, and each trigger header value as ********. Users with monitors.write still see the heartbeat secret in the dashboard, so they can copy the heartbeat URL. Monitor checks and alerts still use the real values. See Stored secrets.
What to do:
- Upgrade to v4.1.11.
- If anyone held an API key, or had a role with a read permission above, and you did not trust them with these values, treat the values as exposed. Rotate each one where it was issued: the API token, the database password, the proxy password, the Docker TLS key, or the webhook URL.
- For each heartbeat monitor, set a new Heartbeat secret in the monitor settings, or click New URL. Then give the new URL to the sender.
A value written as a $SECRET reference, such as Bearer $API_TOKEN, stays in an environment variable. Kener returned only the reference, so that secret was not exposed.
Note
A save that sends a masked value back keeps the stored secret, in the dashboard and in PATCH /api/v4/monitors/{tag}. To change a secret, send the new value.
API changes
Each /api/v4 write now checks its JSON body against the API spec before it saves anything. A body that the spec forbids returns 400 with code BAD_REQUEST, and the message names the field, for example description must be a string or null. Before, a list in description returned 500, and the number 123 was stored as the text 123.0 (#912).
These requests now return 400:
- A body that is not a JSON object, such as
nullor[]. Before, 14 of the 15 writes returned500fornull. - A number, boolean, list, or object in a text field, for example
"description": 123. - A string where the spec asks for a number, for example
"confirmation_threshold": "5", and a decimal where it asks for an integer, for example"start_ts": 1.5. - On
POST /api/v4/monitorsandPATCH /api/v4/monitors/{tag}, a value that is not in the allowed list:statustakesACTIVEorINACTIVE, anddefault_statustakesUP,DOWN,DEGRADED, orMAINTENANCE.is_hiddenandinclude_degraded_in_downtimetakeYESorNO.monitor_typetakes one of the 13 monitor types. nullin a field that cannot be empty, for examplestatusormonitor_typeon a monitor, or thetimestampof an incident comment.
These requests still work:
nullclears a text field:description,image,cron,category_name, andexternal_urlon a monitor,page_subheaderandpage_logoon a page, anddescriptionon a maintenance.nullinend_date_timestill reopens an incident.- A field that the spec does not list is ignored, so you can send back a body that you read with
GET.
PATCH /api/v4/monitors/{tag} now saves include_degraded_in_downtime. Before, it ignored the field and kept the stored value.
Some error messages changed. For example, a request with no title now returns title is required.
Dependencies
This release updates dependencies with npm audit fix, within the version ranges in package.json. npm audit --omit=dev now reports 10 known vulnerabilities instead of 39, and 2 high-severity ones instead of 26. The updated packages include axios, undici, dompurify, devalue, lodash, js-yaml, nanoid, mysql2, @grpc/grpc-js, form-data, postcss, vite, and @sveltejs/kit (#911). The two high-severity ones left, nodemailer and sharp, need a new major version.
Docker image tags
The comment in docker-compose.yml and the Alpine image-size badge in the README pointed at rajnandan1/kener:alpine. That tag stopped updating in August 2025 and still serves v3. Both now point at rajnandan1/kener:latest-alpine, which each release updates (#914).
Warning
If you run rajnandan1/kener:alpine, you run v3. Switch to rajnandan1/kener:latest-alpine, or pin a version such as rajnandan1/kener:v4.1.11-alpine.