v1.6.182026-11-20
BunkerWeb 1.6.18 以安全修复为主,同时夹带几处破坏性变更。ModSecurity 规则迁到 9,800,000-9,809,999 区段,引用旧 ID 的自定义排除规则要按文档对照表改;reverseproxy 的流式上游 TLS 参数不再被忽略,明文后端需清空;核心设置正则收紧,variables.env 磁盘回退必须显式写 API_TOKEN。安全层面修复了 UI 批量操作弹窗的存储型 XSS,NGINX 升至 1.30.7 消除九个 CVE,Alpine OpenSSL 修掉五个;密钥类配置不再落日志,敏感任务缓存的读删仅限管理员,多行设置值无法再注入其他配置,备份归档从创建起即为 0600。升级前请先核对自定义排除规则与 TLS 设置。
v1.6.18-rc5预发布2026-11-19
Documentation : https://docs.bunkerweb.io/1.6.18~rc5/
Docker tags :
- All-in-one : bunkerity/bunkerweb-all-in-one:1.6.18-rc5 or ghcr.io/bunkerity/bunkerweb-all-in-one:1.6.18-rc5
- BunkerWeb : bunkerity/bunkerweb:1.6.18-rc5 or ghcr.io/bunkerity/bunkerweb:1.6.18-rc5
- Scheduler : bunkerity/bunkerweb-scheduler:1.6.18-rc5 or ghcr.io/bunkerity/bunkerweb-scheduler:1.6.18-rc5
- Autoconf : bunkerity/bunkerweb-autoconf:1.6.18-rc5 or ghcr.io/bunkerity/bunkerweb-autoconf:1.6.18-rc5
- UI : bunkerity/bunkerweb-ui:1.6.18-rc5 or ghcr.io/bunkerity/bunkerweb-ui:1.6.18-rc5
- API : bunkerity/bunkerweb-api:1.6.18-rc5 or ghcr.io/bunkerity/bunkerweb-api:1.6.18-rc5
GitLab mirror : registry.gitlab.com/bunkerity/bunkerweb/<image>:1.6.18-rc5 (same digests)
Linux packages : https://packagecloud.io/app/bunkerity/bunkerweb/search?q=1.6.18~rc5&filter=all&dist=
Changelog :
- [SECURITY] ui: service names, instance hostnames and ban services are inserted as text in the bulk-action modals, fixing a stored XSS.
- [SECURITY] api: the internal HTTPS client falls back to HTTP only when the peer does not speak TLS, never after a reset, timeout or certificate error.
- [SECURITY] support: bwcli support and the UI redact JSON ModSecurity audit logs and URL credentials in the masked configuration export.
- [SECURITY] database: SQL bound parameters no longer appear in logged persistence errors.
- [SECURITY] core: multi-line file settings are encoded in variables.env, so their content can no longer add other settings.
- [SECURITY] api: only the docs path itself skips authentication, so APIDOCSURL can no longer expose other routes; / is refused.
- [SECURITY] deps: update NGINX to 1.30.7, fixing nine CVEs including HTTP/2 and HTTP/3. Fedora stays on 1.30.6 until 1.30.7 ships there.
- [SECURITY] api: Basic and login authentication check passwords off the event loop and leak less timing about which usernames exist.
- [SECURITY] api: deleting sensitive job cache files is restricted to API administrators, like reading them.
- [SECURITY] ui: deleting sensitive job cache files from the cache page is restricted to administrators, like viewing them.
- [SECURITY] docker: update the Alpine openssl packages to 3.5.9-r1, fixing five CVEs (CVE-2026-107496, -88822, -88823, -95691, -95692).
- [FEATURE] dnsbl: DNSBL_LIST can be set per service; services without an override keep the global list. (Fixes #4018)
- [BUGFIX] linux: reinstalling a package keeps the data and starts the services; absent units are tolerated, stop failures still abort.
- [BUGFIX] ui: a long login username can no longer stall UI workers; the logged username is bounded and the diagnostics redactor runs in linear time.
- [BUGFIX] jobs: the API server certificate job keeps the previous certificate, so a restarted scheduler or UI still reaches instances that have not reloaded.
- [BUGFIX] scheduler: the deletion of the last manual custom config is honored only after a complete scan of the managed folders.
- [BUGFIX] scheduler: inactive service CRS custom configs and manual source files are kept when generation fails or global CRS is enabled.
- [BUGFIX] scheduler: down instances are no longer publication recipients and receive the current configuration when they return.
- [BUGFIX] scheduler: busy or failed custom config and plugin uploads are retried until each instance has received them.
- [BUGFIX] scheduler: an accepted reload is confirmed before any retry, and instances that already confirmed it are not reloaded again.
- [BUGFIX] scheduler: jobs close their own database connections when they end, so MariaDB and MySQL no longer log them as Aborted connection.
- [BUGFIX] scheduler: each scheduled job runs once per due slot, plugins in parallel, ending the Failed to reload cached module warnings.
- [BUGFIX] scheduler: scheduled jobs wait out a read-only database, its recovery keeps retrying, and every failed job of a batch is recorded.
- [BUGFIX] scheduler: a job's own error and exit code are kept when the scheduler closes the database connections the job opened.
- [BUGFIX] autoconf: Gateway routing and class isolation survive Kubernetes API list failures; transient discovery errors fail startup.
- [BUGFIX] autoconf: Kubernetes retries a failed configuration save or apply after 10 s, and Docker, Swarm and Kubernetes keep the last saved configuration as the baseline, so a failed save is written again. (Refs #4107)
- [BUGFIX] autoconf: Kubernetes pods without an IP yet are no longer registered under a name that never resolves, sparing a second pass on scale-up.
- [BUGFIX] integrations: fix the Web UI database URIs in the PostgreSQL and MariaDB Kubernetes manifests.
- [BUGFIX] modsecurity: separate active CRS after-plugin includes are kept in per-service and global CRS modes.
- [BUGFIX] core: generated ModSecurity fragments are included on the first configuration render.
- [BUGFIX] core: IPv6 service settings and custom configurations given through environment files and variables are kept.
- [BUGFIX] reverseproxy, grpc, redirect: quoted location operands and regex braces work again after upgrades.
- [BUGFIX] core: bare IPv4-mapped host entries in IP lists match both mapped and plain IPv4 clients.
- [BUGFIX] realip: downloaded trusted proxy lists now regenerate the configuration, so new ranges take effect.
- [BUGFIX] api: patching global settings no longer deletes the ones saved from the Web UI or the setup wizard.
- [BUGFIX] misc: the release version check requires exact version pins and rejects stale RC tokens that share the current version prefix.
- [BUGFIX] ui: Web UI workers restart after 200 requests by default instead of 1000, to release memory sooner; UIMAXREQUESTS is now documented. (Fixes #4163)
- [BUGFIX] metrics, ui: the Reports page keeps stored requests of any status, counts each request once in the panes and reads Redis in smaller batches. (Refs #4084)
- [BUGFIX] autoconf: Swarm no longer keeps the IDs of removed services, so their events stop triggering needless reconfigurations.
- [BUGFIX] ui: disabling 2FA or overriding the admin from the environment keeps the email, and a TOTP key change no longer locks the admin out.
- [BUGFIX] ui: uploading several plugins when some already exist no longer overwrites them or drops the new ones.
- [BUGFIX] ui: unsupported instance actions are refused with a 404 instead of being sent to the instance.
- [BUGFIX] ui: a request without a Host header no longer fails with an internal server error.
- [BUGFIX] ui: bulk unban, duration change and config or cache delete no longer act on the wrong row after hiding a table column.
- [BUGFIX] ui: "Reset to global value" now restores the global value in every language instead of the default.
- [BUGFIX] ui: the setup wizard no longer skips invalid fields on step 2, and shows an error when saving is refused.
- [BUGFIX] core: a reverse DNS resolver outage is no longer cached as "no PTR", so RDNS lists and ignores apply again once it is back.
- [BUGFIX] stream: denials from security plugins are only logged in detect mode, as on HTTP services.
- [BUGFIX] crowdsec: the CAPTCHA remediation reads the request body only when a solution is pending.
- [BUGFIX] antibot: a wrong captcha answer no longer writes the expected answer to the error log.
- [BUGFIX] core: blacklist, greylist and whitelist no longer fail on every request when one of their list settings is missing.
- [BUGFIX] scheduler: waiting for a recovering instance's reload no longer stalls scheduled jobs; confirmation resumes on the next healthcheck.
- [BUGFIX] scheduler: isolated database errors spread over its uptime no longer stop the scheduler; only consecutive failures do.
- [BUGFIX] scheduler: a manual custom config is no longer dropped when its service's template has a config o
v1.6.18-rc4预发布2026-11-17
BunkerWeb 1.6.18~rc4 是一次以安全加固为主的候选版:API 与 UI 把任务缓存里的私钥、凭据收紧为仅管理员可见,autoconf 不再将密钥、令牌写入日志,服务包装器忽略环境文件中的 PATH、LD_* 等变量,备份
v1.6.18-rc3预发布2026-11-05
BunkerWeb 1.6.18-rc3 更新
安全方面动作不少:API 开启 HTTPS 后,调度器、UI、API 服务和 bwcli 会校验实例出示的 API 证书(SHA-256 固定),不再信任任意证书;UI 登录失败按 IP 和用户名计数,15 分钟内失败 5 次即锁定 15 分钟;IPv6 地址无论写法如何都按同一封禁处理,IPv4 映射的 IPv6 地址也能正确匹配 IPv4 规则;IP 列表中的无效条目会被跳过而非整表失效;Docker 镜像升级 libexpat 修复多个 CVE。
功能上,插件新增 sslclienthello 阶段,可在 TLS ClientHello 时执行代码;utils.addban 支持 opts.ifabsent,只插入不覆盖;BUNKERNETFILTERHEADERS 可限制上报携带的请求头;服务名支持直接用 IPv4/IPv6 地址。
修复包括:crowdsec 元数据缓存默认扩到 24m、MySQL 8+ 备份不再需要 RELOAD 权限、RHEL 9 上 bwcli 启动崩溃、1.6.17 引入的流式服务 NGINX 初始化中断,以及封禁写入按 IP 串行化等。
v1.6.18-rc2预发布2026-10-30
BunkerWeb 1.6.18-rc2 更新:新增 tests/unit/ 下的 pytest 单元测试套件,CI 中按组件设定覆盖率下限;镜像与 Linux 包现附带签名构建溯源,升级指南补充了校验方法。
三项破坏性变更需留意:反向代理的流式上游 TLS 配置(REVERSEPROXYSSLVERIFY、协议、密码套件等)现在会真正启用后端 TLS,明文后端需清空这些设置;设置项正则校验收紧,无分隔符粘连的列表值(如 404500)和全空格值会被拒绝,AUTHBASICUSER 则放宽为接受任意不含冒号的值;Lua API 磁盘回退要求 variables.env 中显式写明 APITOKEN。
安全方面:ANTIBOTIGNOREURI 与 COUNTRYIGNOREURI 改为匹配规范化后的路径,堵住用 //x、/%78 等绕过检查的漏洞;调度器拒绝超限归档,防止恶意下载源撑爆磁盘;列表下载中的空 JSON 选择器不再放宽 IP 信任名单。
修复集中在 API(缓存文件下载、小写设置名加载、bcrypt 凭据容错、Redis 不可用时限流回退内存计数)、autoconf(Kubernetes 配置延迟重试、重复轮询不再重复触发任务、Swarm 实例 id 不再膨胀)以及 antibot 的 Cap.js CSP 兼容等问题。
v1.6.18-rc1预发布2026-10-26
BunkerWeb 1.6.18-rc1 是一个以安全修复为主的候选版本。CORS 的 self 匹配改为严格比对 Origin,杜绝仿冒来源绕过;Docker 镜像升级了 musl、curl 等基础库,Fedora 包要求 NGINX 1.30.6,OWASP CRS 升到 4.30.0,一批已知 CVE 得到封堵。UI 的支持包导出会脱敏 API_TOKEN、私钥和请求头凭据,bwcli support 同样对 IP 和域名做匿名化处理。
功能上,CrowdSec 新增缓存大小配置,安装脚本支持代理环境变量,NGINX 故障横幅可直达日志页。修复面较广:antibot 挑战失败后保留目标地址、OpenAPI schema 恢复可用、备份恢复会先校验数据库引擎、CrowdSec 流模式下重载不再遗留孤儿决策集、MariaDB/MySQL 升级不再因列类型崩溃、Redis Sentinel 凭据能正确下发。调度器启动时若迁移标记失败会直接停止,避免在未迁移的库上继续运行。
v1.6.172026-10-21
BunkerWeb 1.6.17 主要修复了一批会让服务卡死或防护失效的隐患:MySQL、MariaDB 的连接与读取加上默认超时,数据库失联不再把调度器、UI 和 API 一起拖住;URI 重写不再绕过封禁、黑名单、限速、反爬与认证等访问检查;模板渲染失败或重载初始化出错时直接拒绝,保留正在运行的配置,避免加载写了一半的 /etc/nginx。all-in-one 镜像收到重载信号会等当前配置安装完成再重启。封禁期间的报告只保留最近事件并限制字段长度,不再撑爆 Redis,Reports 页面也能显示真实请求数。IPv4 映射的 IPv6 地址封禁判定与 nginx 保持一致,ModSecurity 的严格校验拒绝会被记录。Web UI 对「全局设置应用到所有服务」和保存前的服务级覆盖增加了确认提示;新增 DATABASECONNECTTIMEOUT、DATABASEREADTIMEOUT 两个配置项,默认 PERMISSIONS_POLICY 还会拒绝 unbounded-element。
v1.6.17-rc2预发布2026-10-16
BunkerWeb 1.6.17-rc2 是一次稳定性收口,重点解决三类卡死:数据库失联、重载半写配置、Kubernetes 控制器假死。
数据库新增 DATABASECONNECTTIMEOUT(默认 10s)与 DATABASEREADTIMEOUT(默认 5m),PostgreSQL 也接入连接超时与 keepalive,DB 无响应不再拖死 scheduler、UI 与 API。重载链路全面加锁:配置生成与安装期间的 reload 会等待完成,避免加载写到一半的 /etc/nginx;模板渲染、插件加载或 plugin.json 出错的重载一律拒绝并保留现有配置,报错也直接点名文件。
autoconf 给 K8s API 调用加了超时与 keepalive,卡在内部锁时标记不健康、交由 liveness probe 重启;Gateway API 模式下会回写 GatewayClass、Gateway 与路由状态,kubectl wait 和 Argo CD 健康检查因此能正常通过(#4058)。
另有几处修复:升级前备份不再
v1.6.17-rc1预发布2026-10-15
BunkerWeb 1.6.17-rc1(候选版)发布。核心更新是安全修复:内置 NGINX 升至 1.30.6,堵上了 CVE-2026-15176、CVE-2026-93479、CVE-2026-95101、CVE-2026-97629、CVE-2026-97205 五个漏洞;LuaJIT 同步升到 v2.1-20261015。需要注意的是,Fedora 43 和 44 的软件仓库尚未提供 1.30.6 包,这两个发行版的 BunkerWeb 仍会基于 1.30.5 编译模块,在官方源跟上前这些漏洞并未修复,用 Fedora 的用户要留意后续跟进。各组件镜像标签已同步更新,涵盖 All-in-one、BunkerWeb、Scheduler、Autoconf、UI、API,Docker Hub、GHCR 与 GitLab 镜像站均可拉取;Linux 包与文档见项目页面。
v1.6.162026-10-14
BunkerWeb 1.6.16 发布,带来一项破坏性变更、安全加固、多项新功能与性能优化。
破坏性变更:METRICSREDISTTL 改用时间单位,m 代表分钟而非百万。库内旧值已自动迁移,通过环境变量设置的需自行调整。
安全方面,设 KEEPCONFIGON_RESTART=yes 重启后不再停用大部分访问控制;UI 支持页导出配置时默认隐去密码字段,仅管理员可取明文。
新功能包括 Redis 集群支持(REDISCLUSTERNODES)、BANSTLSDROP_REASONS 直接掐断被封 IP 的 TLS 握手、CrowdSec 封禁改为可续期的短期禁令、Let's Encrypt 支持为公网 IPv4 签发证书,以及 IP 名单 URL 兼容 JSON、CSV 等格式。反机器人挑战难度可调,页面适配浏览器主题与无障碍偏好。
性能上 UI 响应启用 Brotli/gzip 压缩,报表表格渲染提速。另修复了 API 限流计费、JavaScript 挑战死循环、CrowdSec CAPTCHA 报错等问题。