Bring a large pot of generously salted water to a boil. Add the penne pasta and cook until al dente according to the package directions. Before draining, reserve 240 milliliters of the pasta cooking water, then drain the pasta and set it aside.
While the pasta cooks, heat the olive oil in a large skillet over medium heat. Add the diced onion and cook for 4 to 5 minutes, stirring occasionally, until softened and lightly translucent.
Add the minced garlic to the skillet and cook for 30 seconds, stirring constantly, until fragrant. Do not let the garlic brown.
Stir in the pumpkin puree, vegetable broth, heavy cream, Parmesan cheese, dried sage, dried thyme, kosher salt, and black pepper. Cook for 4 to 5 minutes over medium-low heat, stirring often, until the sauce is smooth, gently simmering, and slightly thickened.
Add the unsalted butter and lemon juice, then stir until the butter melts fully into the sauce. Taste and adjust the seasoning with a little more salt or black pepper if needed.
Add the drained pasta to the skillet and toss well to coat. Pour in enough reserved pasta water, a little at a time, to loosen the sauce until it becomes silky and evenly coats the pasta.
Cook for 1 to 2 minutes more, tossing frequently, until the pasta is hot and the sauce clings nicely to each piece. Remove the skillet from the heat.
Serve immediately with extra Parmesan cheese, chopped fresh parsley, and a few grinds of black pepper on top if desired.